Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9825/0.9825, allocations: 175.7 MB / 480.1 MB, free: 2.828 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 69.55 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 94.52 MB / 0.7601 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001548/0.1563, allocations: 0.6126 MB / 0.7607 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000642/0.1569, allocations: 349.4 kB / 0.761 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.1569, allocations: 0 / 0.761 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.1569, allocations: 0 / 0.761 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.1569, allocations: 7.938 kB / 0.761 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.1574, allocations: 112 kB / 0.7612 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.1574, allocations: 8 kB / 0.7612 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1574, allocations: 0 / 0.7612 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.1575, allocations: 15.91 kB / 0.7612 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.1575, allocations: 4 kB / 0.7612 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.1575, allocations: 0 / 0.7612 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1579, allocations: 279.6 kB / 0.7614 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.1579, allocations: 4 kB / 0.7615 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.1579, allocations: 7.938 kB / 0.7615 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1581, allocations: 91.72 kB / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1581, allocations: 0 / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1581, allocations: 0 / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1581, allocations: 0 / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000362/0.1585, allocations: 351.2 kB / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1585, allocations: 15.97 kB / 0.7619 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.1585, allocations: 30.75 kB / 0.7619 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1586, allocations: 4.938 kB / 0.7619 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1587, allocations: 164.3 kB / 0.7621 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1588, allocations: 4.375 kB / 0.7621 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1588, allocations: 384 / 0.7621 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.1589, allocations: 38.25 kB / 0.7621 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1589, allocations: 3.938 kB / 0.7621 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1589, allocations: 0 / 0.7621 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1589, allocations: 0 / 0.7621 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.1589, allocations: 7.938 kB / 0.7621 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1591, allocations: 157.7 kB / 0.7623 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.1591, allocations: 22.55 kB / 0.7623 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.1591, allocations: 4.859 kB / 0.7623 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007154/0.1598, allocations: 465.5 kB / 0.7628 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1599, allocations: 34.55 kB / 0.7628 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1599, allocations: 0 / 0.7628 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004727/0.1603, allocations: 258.3 kB / 0.763 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1604, allocations: 55.62 kB / 0.7631 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.1605, allocations: 93.84 kB / 0.7632 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1605, allocations: 29.7 kB / 0.7632 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1605, allocations: 80.14 kB / 0.7633 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1605, allocations: 7.953 kB / 0.7633 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1606, allocations: 13.72 kB / 0.7633 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1607, allocations: 314.8 kB / 0.7636 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.1607, allocations: 12.05 kB / 0.7636 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.1607, allocations: 21.72 kB / 0.7636 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/0.1608, allocations: 25.72 kB / 0.7637 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1608, allocations: 0 / 0.7637 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.836e-05/0.1609, allocations: 57.58 kB / 0.7637 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1609, allocations: 7.938 kB / 0.7637 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1609, allocations: 0 / 0.7637 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1609, allocations: 8.062 kB / 0.7637 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.161, allocations: 4 kB / 0.7637 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.161, allocations: 0 / 0.7637 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.161, allocations: 4 kB / 0.7637 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.161, allocations: 3.984 kB / 0.7637 GB, free: 12.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.669e-05/0.1611, allocations: 109.8 kB / 0.7639 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1611, allocations: 7.938 kB / 0.7639 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1612, allocations: 65.06 kB / 0.7639 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1612, allocations: 0 / 0.7639 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1612, allocations: 0 / 0.7639 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1612, allocations: 0 / 0.7639 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1614, allocations: 153.7 kB / 0.7641 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1614, allocations: 3.938 kB / 0.7641 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.1614, allocations: 11.92 kB / 0.7641 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1614, allocations: 7.938 kB / 0.7641 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1614, allocations: 0 / 0.7641 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1614, allocations: 0 / 0.7641 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1614, allocations: 0 / 0.7641 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1616, allocations: 81.06 kB / 0.7642 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.1616, allocations: 89.03 kB / 0.7643 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1616, allocations: 0 / 0.7643 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.1617, allocations: 3.984 kB / 0.7643 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.1617, allocations: 0 / 0.7643 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1617, allocations: 4 kB / 0.7643 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.1617, allocations: 79.34 kB / 0.7643 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1617, allocations: 0 / 0.7643 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000208/0.1619, allocations: 27.94 kB / 0.7644 GB, free: 11.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005234/0.1625, allocations: 0.6438 MB / 0.765 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.388e-05/0.1625, allocations: 16 kB / 0.765 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1625, allocations: 4.281 kB / 0.765 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.1626, allocations: 11.97 kB / 0.765 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1627, allocations: 9.812 kB / 0.765 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1637, allocations: 1.123 MB / 0.7661 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.164, allocations: 0.6768 MB / 0.7668 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.1641, allocations: 8 kB / 0.7668 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.1641, allocations: 11.38 kB / 0.7668 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of SimCode: time 4.6e-07/0.1641, allocations: 0 / 0.7668 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1898, allocations: 1.71 MB / 0.7685 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.303, allocations: 9.5 kB / 0.7685 GB, free: 7.645 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.689573436990031]