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.000945/0.000945, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009945/0.0009945, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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 1.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7973/0.7973, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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 2.515e-06/2.515e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.696e-05, allocations: 3.297 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001909/0.001936, allocations: 1.358 MB / 0.5216 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2124/0.2143, allocations: 143.9 MB / 0.6622 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.2144, allocations: 4 kB / 0.6622 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.929e-05/0.2144, allocations: 3.984 kB / 0.6622 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2146, allocations: 23.73 kB / 0.6622 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.2158, allocations: 334.3 kB / 0.6625 GB, free: 248 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2159, allocations: 71.7 kB / 0.6626 GB, free: 176 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.2159, allocations: 0 / 0.6626 GB, free: 176 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.216, allocations: 43.94 kB / 0.6626 GB, free: 132 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2161, allocations: 27.89 kB / 0.6627 GB, free: 104 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2161, allocations: 4 kB / 0.6627 GB, free: 100 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.2168, allocations: 374.7 kB / 0.663 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.2168, allocations: 19.91 kB / 0.663 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.2169, allocations: 23.98 kB / 0.6631 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.2172, allocations: 175.4 kB / 0.6632 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2172, allocations: 0 / 0.6632 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2172, allocations: 0 / 0.6632 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2172, allocations: 0 / 0.6632 GB, free: 15.51 MB / 0.6355 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.0004387/0.2176, allocations: 416.2 kB / 0.6636 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.2177, allocations: 8.031 kB / 0.6636 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.2181, allocations: 60.66 kB / 0.6637 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2182, allocations: 116.5 kB / 0.6638 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2182, allocations: 4.375 kB / 0.6638 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.2182, allocations: 20.31 kB / 0.6638 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2184, allocations: 201.5 kB / 0.664 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2184, allocations: 0 / 0.664 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2185, allocations: 8 kB / 0.664 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.2185, allocations: 0 / 0.664 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.2185, allocations: 35.94 kB / 0.6641 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.2187, allocations: 136.5 kB / 0.6642 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.2189, allocations: 79.19 kB / 0.6643 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.219, allocations: 27.67 kB / 0.6643 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.2192, allocations: 27.98 kB / 0.6643 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2192, allocations: 37.33 kB / 0.6644 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.455e-06/0.2192, allocations: 0 / 0.6644 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0009687/0.2202, allocations: 464 kB / 0.6648 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.2202, allocations: 55.41 kB / 0.6649 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.2203, allocations: 157.9 kB / 0.665 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2203, allocations: 29.7 kB / 0.665 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.2203, allocations: 135.2 kB / 0.6652 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.2204, allocations: 75.38 kB / 0.6652 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.2204, allocations: 43.36 kB / 0.6653 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2205, allocations: 0.4922 MB / 0.6658 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.2206, allocations: 23.98 kB / 0.6658 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.2206, allocations: 66.17 kB / 0.6658 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2208, allocations: 110.8 kB / 0.666 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2208, allocations: 0 / 0.666 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001646/0.2209, allocations: 137.6 kB / 0.6661 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2209, allocations: 8 kB / 0.6661 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2209, allocations: 0 / 0.6661 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.221, allocations: 0 / 0.6661 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2211, allocations: 39.92 kB / 0.6661 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2211, allocations: 4 kB / 0.6661 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.2211, allocations: 12.11 kB / 0.6661 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2211, allocations: 4 kB / 0.6661 GB, free: 12.25 MB / 0.6355 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 7.819e-05/0.2212, allocations: 176.5 kB / 0.6663 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.2212, allocations: 15.95 kB / 0.6663 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.2212, allocations: 16.47 kB / 0.6663 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2213, allocations: 0 / 0.6663 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2213, allocations: 0 / 0.6663 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2213, allocations: 4 kB / 0.6663 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2214, allocations: 140.5 kB / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2214, allocations: 0 / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2215, allocations: 39.92 kB / 0.6665 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2215, allocations: 0 / 0.6665 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2215, allocations: 4 kB / 0.6665 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2215, allocations: 4 kB / 0.6665 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2215, allocations: 4 kB / 0.6665 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2217, allocations: 188.2 kB / 0.6667 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2218, allocations: 11.94 kB / 0.6667 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.2218, allocations: 8 kB / 0.6667 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.2218, allocations: 4 kB / 0.6667 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.2219, allocations: 11.97 kB / 0.6667 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2219, allocations: 12 kB / 0.6668 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.222, allocations: 119.2 kB / 0.6669 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.222, allocations: 3.938 kB / 0.6669 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001661/0.2221, allocations: 32.09 kB / 0.6669 GB, free: 11.4 MB / 0.6355 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 0.0001429/0.2223, allocations: 103.2 kB / 0.667 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.2224, allocations: 94.11 kB / 0.6671 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2224, allocations: 0 / 0.6671 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.2225, allocations: 59.59 kB / 0.6672 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2227, allocations: 40.67 kB / 0.6672 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.2234, allocations: 416.6 kB / 0.6676 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2235, allocations: 68.08 kB / 0.6677 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.874e-05/0.2236, allocations: 24.62 kB / 0.6677 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.2236, allocations: 16.5 kB / 0.6677 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of SimCode: time 9.41e-07/0.2236, allocations: 0 / 0.6677 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.003187/0.2268, allocations: 1.417 MB / 0.6691 GB, free: 9.168 MB / 0.6355 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.642904970794916]