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.00175/0.00175, allocations: 104 kB / 16.45 MB, free: 6.504 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.001207/0.001207, allocations: 192.6 kB / 19.4 MB, free: 3.68 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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 1.1/1.1, allocations: 175.8 MB / 478.4 MB, free: 8.484 MB / 382.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.001981/0.001981, allocations: 68.62 kB / 0.6652 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1971, allocations: 94.54 MB / 0.7576 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002096/0.1992, allocations: 0.5975 MB / 0.7582 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.1999, allocations: 356.8 kB / 0.7585 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.2, allocations: 4 kB / 0.7585 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.2, allocations: 0 / 0.7585 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.2, allocations: 0 / 0.7585 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.2005, allocations: 111.6 kB / 0.7586 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.094e-05/0.2006, allocations: 4 kB / 0.7586 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.2006, allocations: 4 kB / 0.7586 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.2006, allocations: 8 kB / 0.7586 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.2007, allocations: 15.91 kB / 0.7586 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2007, allocations: 0 / 0.7586 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.2012, allocations: 275.7 kB / 0.7589 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.2012, allocations: 0 / 0.7589 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.2012, allocations: 3.984 kB / 0.7589 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2014, allocations: 99.94 kB / 0.759 GB, free: 424 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2014, allocations: 0 / 0.759 GB, free: 424 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2014, allocations: 0 / 0.759 GB, free: 424 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2014, allocations: 0 / 0.759 GB, free: 424 kB / 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.00044/0.2018, allocations: 351.2 kB / 0.7593 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2019, allocations: 8.031 kB / 0.7593 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.381/0.5828, allocations: 31.27 kB / 0.7594 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.5829, allocations: 1.469 kB / 0.7594 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.583, allocations: 162.7 kB / 0.7595 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.583, allocations: 3.062 kB / 0.7595 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.5831, allocations: 2.797 kB / 0.7595 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.5832, allocations: 36.8 kB / 0.7596 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5832, allocations: 6.031 kB / 0.7596 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.5832, allocations: 0.75 kB / 0.7596 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5832, allocations: 0.9688 kB / 0.7596 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.5832, allocations: 8.172 kB / 0.7596 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.5834, allocations: 153.2 kB / 0.7597 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.5834, allocations: 21.47 kB / 0.7597 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.5834, allocations: 10.2 kB / 0.7598 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/0.5842, allocations: 458.3 kB / 0.7602 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.5842, allocations: 35.5 kB / 0.7602 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.5842, allocations: 3.281 kB / 0.7602 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004928/0.5847, allocations: 258.3 kB / 0.7605 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.5847, allocations: 51.41 kB / 0.7605 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.244e-05/0.5847, allocations: 94.77 kB / 0.7606 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.5847, allocations: 30.22 kB / 0.7606 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.5847, allocations: 84.75 kB / 0.7607 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.5848, allocations: 6.516 kB / 0.7607 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.5848, allocations: 17.88 kB / 0.7607 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.5848, allocations: 316.2 kB / 0.7611 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.5849, allocations: 5.25 kB / 0.7611 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.5849, allocations: 19.66 kB / 0.7611 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.5849, allocations: 27.45 kB / 0.7611 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5849, allocations: 3 kB / 0.7611 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.407e-05/0.585, allocations: 56.41 kB / 0.7612 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.585, allocations: 8.844 kB / 0.7612 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.585, allocations: 0.8125 kB / 0.7612 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5851, allocations: 1.375 kB / 0.7612 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.5851, allocations: 10.25 kB / 0.7612 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5851, allocations: 0.5625 kB / 0.7612 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.5851, allocations: 2.594 kB / 0.7612 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.5852, allocations: 2.781 kB / 0.7612 GB, free: 7.355 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 4.602e-05/0.5852, allocations: 119 kB / 0.7613 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.5852, allocations: 11.47 kB / 0.7613 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.5853, allocations: 52.59 kB / 0.7614 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5853, allocations: 0.5625 kB / 0.7614 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5854, allocations: 1.938 kB / 0.7614 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5854, allocations: 1.5 kB / 0.7614 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.493e-05/0.5854, allocations: 153 kB / 0.7615 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5854, allocations: 1.516 kB / 0.7615 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.5855, allocations: 6.438 kB / 0.7615 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5855, allocations: 4.531 kB / 0.7615 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.5855, allocations: 0.8125 kB / 0.7615 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5855, allocations: 5.781 kB / 0.7615 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5855, allocations: 3.344 kB / 0.7615 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.5856, allocations: 82.09 kB / 0.7616 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.5856, allocations: 82.38 kB / 0.7617 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.5856, allocations: 2.109 kB / 0.7617 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.5857, allocations: 2.109 kB / 0.7617 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.5857, allocations: 2.641 kB / 0.7617 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.5857, allocations: 0.8125 kB / 0.7617 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.5857, allocations: 82.47 kB / 0.7618 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5857, allocations: 0 / 0.7618 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002256/0.586, allocations: 26.88 kB / 0.7618 GB, free: 6.77 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.0004059/0.5864, allocations: 0.6501 MB / 0.7624 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.5865, allocations: 17.02 kB / 0.7624 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5865, allocations: 0.75 kB / 0.7624 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.5865, allocations: 12.48 kB / 0.7625 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.5866, allocations: 2.766 kB / 0.7625 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.5874, allocations: 1.133 MB / 0.7636 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.5875, allocations: 0.6782 MB / 0.7642 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.5876, allocations: 9.188 kB / 0.7642 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.5876, allocations: 8.969 kB / 0.7643 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5876, allocations: 0.9844 kB / 0.7643 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.6168, allocations: 1.75 MB / 0.766 GB, free: 20.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.636, allocations: 14.98 kB / 0.766 GB, free: 20.04 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --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: 12.484092674218118] Failed to read output from testmodel.py, exit status != 0: 8.708745970856398 8.731537137 8.525685728000001 Calling exit ...