Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9624/0.9624, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8696/0.8696, allocations: 154.6 MB / 415.6 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5215 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.784e-05, allocations: 7.625 kB / 0.5215 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001936/0.001954, allocations: 1.376 MB / 0.5228 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4164/0.4183, allocations: 141.2 MB / 0.6608 GB, free: 16.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.4184, allocations: 0.8125 kB / 0.6608 GB, free: 16.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.4184, allocations: 5.719 kB / 0.6608 GB, free: 16.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.4185, allocations: 12.28 kB / 0.6608 GB, free: 16.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008217/0.4194, allocations: 336.8 kB / 0.6611 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4195, allocations: 65.72 kB / 0.6612 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.4195, allocations: 7.547 kB / 0.6612 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.4196, allocations: 44.97 kB / 0.6612 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.4197, allocations: 25.17 kB / 0.6612 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4197, allocations: 3.312 kB / 0.6612 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005771/0.4202, allocations: 376.7 kB / 0.6616 GB, free: 16.42 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.4203, allocations: 19.42 kB / 0.6616 GB, free: 16.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.4203, allocations: 27.91 kB / 0.6616 GB, free: 16.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.4206, allocations: 167.7 kB / 0.6618 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4206, allocations: 0.9375 kB / 0.6618 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4206, allocations: 0 / 0.6618 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4206, allocations: 0 / 0.6618 GB, free: 16.4 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002965/0.4209, allocations: 422 kB / 0.6622 GB, free: 16.01 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.4209, allocations: 8.875 kB / 0.6622 GB, free: 16.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.4212, allocations: 60.05 kB / 0.6623 GB, free: 16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.486e-05/0.4213, allocations: 111.1 kB / 0.6624 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4213, allocations: 12.7 kB / 0.6624 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4213, allocations: 8.375 kB / 0.6624 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.4214, allocations: 197.8 kB / 0.6626 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.4214, allocations: 0.6562 kB / 0.6626 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.4214, allocations: 7.312 kB / 0.6626 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4214, allocations: 2.359 kB / 0.6626 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.4215, allocations: 25.91 kB / 0.6626 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.947e-05/0.4216, allocations: 121 kB / 0.6627 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4217, allocations: 79.62 kB / 0.6628 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.4217, allocations: 28.3 kB / 0.6628 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.4218, allocations: 24.56 kB / 0.6629 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.4218, allocations: 36.8 kB / 0.6629 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.4218, allocations: 0 / 0.6629 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0007073/0.4225, allocations: 438.5 kB / 0.6633 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.4226, allocations: 53.94 kB / 0.6634 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.499e-05/0.4226, allocations: 157.7 kB / 0.6635 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.4226, allocations: 30.7 kB / 0.6635 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/0.4226, allocations: 128.1 kB / 0.6637 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4227, allocations: 78.06 kB / 0.6637 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.4227, allocations: 48.7 kB / 0.6638 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.4227, allocations: 0.4906 MB / 0.6643 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.4228, allocations: 16.77 kB / 0.6643 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.4228, allocations: 70.52 kB / 0.6644 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.895e-05/0.4229, allocations: 92.28 kB / 0.6644 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4229, allocations: 0.75 kB / 0.6644 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001338/0.423, allocations: 131.8 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.423, allocations: 8.094 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.423, allocations: 0.75 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.423, allocations: 2.531 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4232, allocations: 44.91 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4232, allocations: 2.094 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.4232, allocations: 12.19 kB / 0.6646 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.4232, allocations: 11.92 kB / 0.6646 GB, free: 14.17 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 5.053e-05/0.4232, allocations: 166.4 kB / 0.6648 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.4233, allocations: 16.52 kB / 0.6648 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.4233, allocations: 18.56 kB / 0.6648 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4233, allocations: 2.531 kB / 0.6648 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4233, allocations: 0 / 0.6648 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4233, allocations: 2.531 kB / 0.6648 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.138e-05/0.4234, allocations: 120.8 kB / 0.665 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4234, allocations: 0 / 0.665 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4235, allocations: 36.62 kB / 0.665 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4235, allocations: 8.812 kB / 0.665 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4235, allocations: 7.188 kB / 0.665 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4235, allocations: 1.125 kB / 0.665 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4235, allocations: 1.062 kB / 0.665 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.4237, allocations: 170 kB / 0.6652 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.4237, allocations: 21.66 kB / 0.6652 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.4237, allocations: 5.406 kB / 0.6652 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.4238, allocations: 8.266 kB / 0.6652 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.4238, allocations: 9.406 kB / 0.6652 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4238, allocations: 6.844 kB / 0.6652 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.543e-05/0.4238, allocations: 131 kB / 0.6653 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4238, allocations: 0 / 0.6653 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001498/0.424, allocations: 30.84 kB / 0.6654 GB, free: 13.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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 9.828e-05/0.4241, allocations: 99.34 kB / 0.6655 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.4242, allocations: 82.7 kB / 0.6656 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4242, allocations: 0.75 kB / 0.6656 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.4242, allocations: 43.75 kB / 0.6656 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4244, allocations: 43.78 kB / 0.6656 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.425, allocations: 412.2 kB / 0.666 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.889e-05/0.4251, allocations: 66.7 kB / 0.6661 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.495e-05/0.4251, allocations: 18.62 kB / 0.6661 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4252, allocations: 110 kB / 0.6662 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.4252, allocations: 0.7188 kB / 0.6662 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of Templates: time 0.003455/0.4287, allocations: 1.64 MB / 0.6678 GB, free: 12.94 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.254259550012648]