Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001913/0.001913, allocations: 106 kB / 16.45 MB, free: 6.508 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.00209/0.00209, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.06/1.06, allocations: 175.8 MB / 478.4 MB, free: 8.469 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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 64.77 kB / 0.6652 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2156, allocations: 94.55 MB / 0.7576 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001816/0.2174, allocations: 0.5704 MB / 0.7581 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.2181, allocations: 336.9 kB / 0.7585 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.2181, allocations: 0 / 0.7585 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.2181, allocations: 0 / 0.7585 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.2181, allocations: 0 / 0.7585 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.2186, allocations: 110.3 kB / 0.7586 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.733e-05/0.2187, allocations: 7.938 kB / 0.7586 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.2187, allocations: 4 kB / 0.7586 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.176e-05/0.2187, allocations: 0 / 0.7586 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.2187, allocations: 3.938 kB / 0.7586 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2188, allocations: 0 / 0.7586 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.2192, allocations: 279.6 kB / 0.7588 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2192, allocations: 0 / 0.7588 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.2192, allocations: 0 / 0.7588 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2194, allocations: 88.02 kB / 0.7589 GB, free: 468 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2195, allocations: 0 / 0.7589 GB, free: 468 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2195, allocations: 4 kB / 0.7589 GB, free: 464 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2195, allocations: 0 / 0.7589 GB, free: 464 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003959/0.2199, allocations: 339.3 kB / 0.7593 GB, free: 72 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2199, allocations: 8.031 kB / 0.7593 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.2199, allocations: 34.75 kB / 0.7593 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.22, allocations: 0.9375 kB / 0.7593 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3289/0.5489, allocations: 160.4 kB / 0.7594 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5489, allocations: 0.9375 kB / 0.7594 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.5489, allocations: 2.516 kB / 0.7595 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.549, allocations: 30.23 kB / 0.7595 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5491, allocations: 0.8438 kB / 0.7595 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.5491, allocations: 0.5 kB / 0.7595 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.5491, allocations: 0 / 0.7595 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.5491, allocations: 9.016 kB / 0.7595 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.5492, allocations: 146 kB / 0.7596 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.5492, allocations: 23.77 kB / 0.7597 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.5492, allocations: 8.844 kB / 0.7597 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/0.5496, allocations: 425.9 kB / 0.7601 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.5497, allocations: 33.53 kB / 0.7601 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5497, allocations: 0 / 0.7601 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.00015/0.5498, allocations: 33.2 kB / 0.7601 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.5498, allocations: 62.62 kB / 0.7602 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.405e-05/0.5498, allocations: 91.69 kB / 0.7603 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.5499, allocations: 26.27 kB / 0.7603 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.017e-05/0.5499, allocations: 80.73 kB / 0.7604 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.5499, allocations: 7.531 kB / 0.7604 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.5499, allocations: 11.67 kB / 0.7604 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.55, allocations: 312.3 kB / 0.7607 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.55, allocations: 1.094 kB / 0.7607 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.55, allocations: 2.016 kB / 0.7607 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.55, allocations: 11.86 kB / 0.7607 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.55, allocations: 0.8125 kB / 0.7607 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.381e-05/0.5501, allocations: 36.94 kB / 0.7607 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5501, allocations: 7.297 kB / 0.7608 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5501, allocations: 3.172 kB / 0.7608 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5501, allocations: 1.219 kB / 0.7608 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.5501, allocations: 2.969 kB / 0.7608 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5501, allocations: 5.203 kB / 0.7608 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-06/0.5502, allocations: 2.438 kB / 0.7608 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.5502, allocations: 1.328 kB / 0.7608 GB, free: 7.191 MB / 0.5762 GB 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 (1): * Single equations (assignments): 1 * 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 3.779e-05/0.5502, allocations: 110.4 kB / 0.7609 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.5502, allocations: 1.969 kB / 0.7609 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.5503, allocations: 44.05 kB / 0.7609 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5503, allocations: 3.234 kB / 0.7609 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5503, allocations: 3.938 kB / 0.7609 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.5503, allocations: 1.062 kB / 0.7609 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.452e-05/0.5504, allocations: 147.8 kB / 0.7611 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5504, allocations: 0 / 0.7611 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.5504, allocations: 2.594 kB / 0.7611 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5504, allocations: 0.625 kB / 0.7611 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.5504, allocations: 3.469 kB / 0.7611 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.5504, allocations: 2.531 kB / 0.7611 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5504, allocations: 4.641 kB / 0.7611 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.5504, allocations: 61.64 kB / 0.7611 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.5505, allocations: 78.62 kB / 0.7612 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.5505, allocations: 2 kB / 0.7612 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.5505, allocations: 2.797 kB / 0.7612 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.5505, allocations: 5.875 kB / 0.7612 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.5505, allocations: 0.5312 kB / 0.7612 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.229e-05/0.5505, allocations: 79.42 kB / 0.7613 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5505, allocations: 0 / 0.7613 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002232/0.5507, allocations: 17.14 kB / 0.7613 GB, free: 6.613 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002811/0.551, allocations: 0.6067 MB / 0.7619 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.5511, allocations: 8.219 kB / 0.7619 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5511, allocations: 0 / 0.7619 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-06/0.5511, allocations: 2.594 kB / 0.7619 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.5512, allocations: 5.312 kB / 0.7619 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.5515, allocations: 118.1 kB / 0.762 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.5516, allocations: 0.6713 MB / 0.7627 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.5516, allocations: 1.688 kB / 0.7627 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.5516, allocations: 7.969 kB / 0.7627 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.5516, allocations: 0.625 kB / 0.7627 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.5751, allocations: 1.2 MB / 0.7639 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.691, allocations: 6.844 kB / 0.7639 GB, free: 4.848 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.436368034221232] Failed to read output from testmodel.py, exit status != 0: 8.7572428942658 8.768401218 8.54666211 Calling exit ...