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.0009611/0.0009611, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001118/0.001118, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 0.918/0.918, allocations: 177.1 MB / 202.8 MB, free: 5.742 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-531:686: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-531:694: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.7337/0.7337, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.618 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.506e-05, allocations: 4.953 kB / 0.6181 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001774/0.001799, allocations: 1.332 MB / 0.6194 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.4638/0.4656, allocations: 130.1 MB / 0.7464 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.4657, allocations: 4 kB / 0.7464 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.637e-05/0.4657, allocations: 0 / 0.7464 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.4659, allocations: 19.84 kB / 0.7464 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.4668, allocations: 342.4 kB / 0.7467 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.467, allocations: 67.75 kB / 0.7468 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.467, allocations: 4 kB / 0.7468 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.4671, allocations: 39.89 kB / 0.7468 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4672, allocations: 27.95 kB / 0.7469 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.4672, allocations: 0 / 0.7469 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006418/0.4678, allocations: 378.5 kB / 0.7472 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.4679, allocations: 15.97 kB / 0.7472 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.4679, allocations: 27.91 kB / 0.7473 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.4682, allocations: 171.6 kB / 0.7474 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4682, allocations: 0 / 0.7474 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4682, allocations: 0 / 0.7474 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4682, allocations: 3.938 kB / 0.7474 GB, free: 12.17 MB / 0.6198 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.0004138/0.4686, allocations: 312.2 kB / 0.7477 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4686, allocations: 12.03 kB / 0.7477 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.4687, allocations: 38.73 kB / 0.7478 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.469, allocations: 40.83 kB / 0.7478 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.469, allocations: 101.8 kB / 0.7479 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4691, allocations: 16.36 kB / 0.7479 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4691, allocations: 12.33 kB / 0.7479 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.4693, allocations: 206.1 kB / 0.7481 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4693, allocations: 0 / 0.7481 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4693, allocations: 4 kB / 0.7481 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4693, allocations: 0 / 0.7481 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.4694, allocations: 53.89 kB / 0.7482 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.4696, allocations: 152.7 kB / 0.7483 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4698, allocations: 78.61 kB / 0.7484 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.4698, allocations: 28.94 kB / 0.7484 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.47, allocations: 31.91 kB / 0.7485 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.47, allocations: 42.56 kB / 0.7485 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.47, allocations: 0 / 0.7485 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001095/0.4711, allocations: 482.4 kB / 0.749 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4711, allocations: 55.41 kB / 0.749 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.4712, allocations: 97.84 kB / 0.7491 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4712, allocations: 33.7 kB / 0.7491 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.4713, allocations: 80.52 kB / 0.7492 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.4713, allocations: 67.39 kB / 0.7493 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.4714, allocations: 45.7 kB / 0.7493 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.4715, allocations: 322.8 kB / 0.7496 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.4715, allocations: 31.98 kB / 0.7497 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.4716, allocations: 67.41 kB / 0.7497 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4717, allocations: 123.5 kB / 0.7499 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4717, allocations: 3.688 kB / 0.7499 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001794/0.4719, allocations: 160.8 kB / 0.75 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4719, allocations: 8 kB / 0.75 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4719, allocations: 0 / 0.75 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.472, allocations: 1.219 kB / 0.75 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4721, allocations: 35.98 kB / 0.7501 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4721, allocations: 7.938 kB / 0.7501 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.4721, allocations: 7.938 kB / 0.7501 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4721, allocations: 15.98 kB / 0.7501 GB, free: 9.195 MB / 0.6198 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 8.107e-05/0.4722, allocations: 122.8 kB / 0.7502 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.4722, allocations: 7.953 kB / 0.7502 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.4723, allocations: 16.47 kB / 0.7502 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4723, allocations: 4 kB / 0.7502 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4723, allocations: 0 / 0.7502 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4723, allocations: 0 / 0.7502 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4724, allocations: 164.7 kB / 0.7504 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4724, allocations: 3.938 kB / 0.7504 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4726, allocations: 39.92 kB / 0.7504 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4726, allocations: 0 / 0.7504 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4726, allocations: 4 kB / 0.7504 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4726, allocations: 8 kB / 0.7504 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4726, allocations: 0 / 0.7504 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.4731, allocations: 214.2 kB / 0.7506 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.4732, allocations: 19.92 kB / 0.7507 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4732, allocations: 4.062 kB / 0.7507 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.4732, allocations: 8.875 kB / 0.7507 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.4733, allocations: 11.97 kB / 0.7507 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4733, allocations: 8 kB / 0.7507 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.4733, allocations: 79.28 kB / 0.7508 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4733, allocations: 0 / 0.7508 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001517/0.4734, allocations: 28.09 kB / 0.7508 GB, free: 8.402 MB / 0.6198 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.0004409/0.4739, allocations: 0.748 MB / 0.7515 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.4741, allocations: 99.03 kB / 0.7516 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4741, allocations: 4 kB / 0.7516 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.4741, allocations: 47.91 kB / 0.7517 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.4744, allocations: 22.59 kB / 0.7517 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4759, allocations: 1.713 MB / 0.7534 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.352e-05/0.4759, allocations: 84.05 kB / 0.7534 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.815e-05/0.476, allocations: 28.58 kB / 0.7535 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.4761, allocations: 32.47 kB / 0.7535 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.4761, allocations: 0 / 0.7535 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.4971, allocations: 3.098 MB / 0.7565 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/7.431, allocations: 10.34 kB / 0.7565 GB, free: 2.547 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.115709791891277] Failed to read output from testmodel.py, exit status != 0: 7.509710781276226 7.51950136 7.049478661 Calling exit ...