Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7874/0.7874, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 68.23 kB / 0.5019 GB, free: 8.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1438, allocations: 80.2 MB / 0.5802 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001794/0.1456, allocations: 0.6157 MB / 0.5808 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.1463, allocations: 350.7 kB / 0.5811 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.1463, allocations: 0 / 0.5811 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.1464, allocations: 0 / 0.5811 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.1464, allocations: 3.938 kB / 0.5811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.1469, allocations: 111.7 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.147, allocations: 23.92 kB / 0.5813 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.147, allocations: 11.97 kB / 0.5813 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.1471, allocations: 7.938 kB / 0.5813 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.1471, allocations: 23.91 kB / 0.5813 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1471, allocations: 0 / 0.5813 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1475, allocations: 271.7 kB / 0.5816 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.1476, allocations: 11.92 kB / 0.5816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.1476, allocations: 15.88 kB / 0.5816 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1478, allocations: 99.77 kB / 0.5817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1478, allocations: 0 / 0.5817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1478, allocations: 0 / 0.5817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1478, allocations: 0 / 0.5817 GB, free: 7.094 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003953/0.1482, allocations: 367.7 kB / 0.5821 GB, free: 6.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1482, allocations: 8.031 kB / 0.5821 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1483, allocations: 38.75 kB / 0.5821 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.1483, allocations: 0.9375 kB / 0.5821 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1484, allocations: 164.4 kB / 0.5823 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1485, allocations: 4.359 kB / 0.5823 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1485, allocations: 8.281 kB / 0.5823 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1486, allocations: 50.25 kB / 0.5823 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1486, allocations: 3.938 kB / 0.5823 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1486, allocations: 0 / 0.5823 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1487, allocations: 4 kB / 0.5823 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.1487, allocations: 23.92 kB / 0.5823 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1489, allocations: 165.7 kB / 0.5825 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.149, allocations: 58.55 kB / 0.5826 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.149, allocations: 28.86 kB / 0.5826 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.1497, allocations: 457.5 kB / 0.583 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1497, allocations: 34.56 kB / 0.5831 GB, free: 5.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.1498, allocations: 0 / 0.5831 GB, free: 5.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001245/0.151, allocations: 0.5948 MB / 0.5836 GB, free: 4.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.151, allocations: 55.41 kB / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.1511, allocations: 97.84 kB / 0.5838 GB, free: 4.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1511, allocations: 29.7 kB / 0.5838 GB, free: 4.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.1512, allocations: 84.22 kB / 0.5839 GB, free: 4.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.1512, allocations: 43.31 kB / 0.5839 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1513, allocations: 29.7 kB / 0.584 GB, free: 4.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.1514, allocations: 318.8 kB / 0.5843 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.1514, allocations: 19.98 kB / 0.5843 GB, free: 4.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.1515, allocations: 25.75 kB / 0.5843 GB, free: 4.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.1516, allocations: 59.42 kB / 0.5844 GB, free: 3.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1516, allocations: 0 / 0.5844 GB, free: 3.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.1517, allocations: 105.5 kB / 0.5845 GB, free: 3.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1517, allocations: 4 kB / 0.5845 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1518, allocations: 4 kB / 0.5845 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1518, allocations: 0 / 0.5845 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1519, allocations: 20 kB / 0.5845 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1519, allocations: 0 / 0.5845 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.1519, allocations: 7.984 kB / 0.5845 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1519, allocations: 4 kB / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.089e-05/0.152, allocations: 118.4 kB / 0.5846 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1521, allocations: 11.84 kB / 0.5846 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.1523, allocations: 110.1 kB / 0.5847 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1523, allocations: 0 / 0.5847 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1523, allocations: 7.938 kB / 0.5847 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1523, allocations: 3.984 kB / 0.5847 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1527, allocations: 354.5 kB / 0.5851 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1527, allocations: 0 / 0.5851 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1528, allocations: 16 kB / 0.5851 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1528, allocations: 4 kB / 0.5851 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1528, allocations: 7.984 kB / 0.5851 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1528, allocations: 4 kB / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1528, allocations: 0 / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1531, allocations: 223.2 kB / 0.5853 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1531, allocations: 85.12 kB / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1532, allocations: 0 / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.1532, allocations: 4 kB / 0.5854 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1533, allocations: 7.984 kB / 0.5854 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.1533, allocations: 4 kB / 0.5854 GB, free: 2.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.1533, allocations: 87.34 kB / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1533, allocations: 0 / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1536, allocations: 43.98 kB / 0.5855 GB, free: 2.641 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005802/0.1542, allocations: 0.7903 MB / 0.5863 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1544, allocations: 63.92 kB / 0.5864 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1544, allocations: 4.062 kB / 0.5864 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.1544, allocations: 35.98 kB / 0.5864 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1547, allocations: 0 / 0.5864 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1559, allocations: 1.405 MB / 0.5878 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1561, allocations: 0.6846 MB / 0.5885 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.1562, allocations: 15.97 kB / 0.5885 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1562, allocations: 19.44 kB / 0.5885 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1562, allocations: 0 / 0.5885 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.1753, allocations: 2.426 MB / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.287, allocations: 2.578 kB / 0.5909 GB, free: 13.2 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)