Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001026/0.001026, 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.001695/0.001695, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9939/0.9939, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7479/0.7479, allocations: 154.6 MB / 413.7 MB, free: 0.793 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.369e-05, allocations: 6 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002092/0.002126, allocations: 1.278 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.5231/0.5252, allocations: 129.1 MB / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.5253, allocations: 4 kB / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.5253, allocations: 5.438 kB / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-05/0.5253, allocations: 5.734 kB / 0.7454 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.5258, allocations: 102.4 kB / 0.7455 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.239e-05/0.5259, allocations: 35.55 kB / 0.7455 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.5259, allocations: 2.672 kB / 0.7455 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.526, allocations: 19.5 kB / 0.7455 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.5261, allocations: 12.09 kB / 0.7455 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.5261, allocations: 2.438 kB / 0.7456 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.5263, allocations: 84.89 kB / 0.7456 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.5264, allocations: 7.484 kB / 0.7456 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.5264, allocations: 12.14 kB / 0.7457 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.5266, allocations: 74.08 kB / 0.7457 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5266, allocations: 1.188 kB / 0.7457 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5266, allocations: 3.938 kB / 0.7457 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5266, allocations: 0 / 0.7457 GB, free: 19.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003908/0.527, allocations: 272.1 kB / 0.746 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.527, allocations: 9.594 kB / 0.746 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.5271, allocations: 36.81 kB / 0.746 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.5272, allocations: 14.25 kB / 0.746 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.38e-05/0.5273, allocations: 113.3 kB / 0.7462 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.5273, allocations: 5.469 kB / 0.7462 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.5273, allocations: 4.781 kB / 0.7462 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.5274, allocations: 132.3 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5274, allocations: 0 / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5274, allocations: 1 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5274, allocations: 1.656 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.5275, allocations: 17.28 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.5276, allocations: 130.8 kB / 0.7464 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.5277, allocations: 50.89 kB / 0.7465 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.5277, allocations: 15.56 kB / 0.7465 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.5277, allocations: 5.094 kB / 0.7465 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.5277, allocations: 33.83 kB / 0.7465 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.5277, allocations: 0 / 0.7465 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005785/0.5283, allocations: 299.5 kB / 0.7468 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.5283, allocations: 54.36 kB / 0.7469 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.908e-05/0.5284, allocations: 101 kB / 0.747 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.5284, allocations: 25.7 kB / 0.747 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.5284, allocations: 84.39 kB / 0.7471 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.5284, allocations: 43.97 kB / 0.7471 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.5285, allocations: 27.52 kB / 0.7471 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.5285, allocations: 315.5 kB / 0.7474 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.5285, allocations: 21.84 kB / 0.7475 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.5286, allocations: 36.2 kB / 0.7475 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.5286, allocations: 68.86 kB / 0.7476 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5286, allocations: 1 kB / 0.7476 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.958e-05/0.5287, allocations: 93.58 kB / 0.7477 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5287, allocations: 6.719 kB / 0.7477 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5287, allocations: 5.266 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5287, allocations: 0 / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.5288, allocations: 21.78 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5288, allocations: 1.188 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.5289, allocations: 9.328 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5289, allocations: 2.469 kB / 0.7477 GB, free: 17.82 MB / 0.6355 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 (14): * Single equations (assignments): 14 * 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.242e-05/0.5289, allocations: 123.4 kB / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.5289, allocations: 6.547 kB / 0.7478 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.5289, allocations: 13.89 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.529, allocations: 1.25 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.529, allocations: 0.6562 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.529, allocations: 0.6562 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.365e-05/0.529, allocations: 143.5 kB / 0.748 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.529, allocations: 3.938 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.5291, allocations: 24.92 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.5291, allocations: 1.344 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5291, allocations: 0.75 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5291, allocations: 0.9375 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5291, allocations: 0 / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.5293, allocations: 143.7 kB / 0.7481 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.5293, allocations: 4.438 kB / 0.7481 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.5293, allocations: 1.953 kB / 0.7481 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.5294, allocations: 11.92 kB / 0.7482 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.5294, allocations: 6.141 kB / 0.7482 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5294, allocations: 3.312 kB / 0.7482 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.2e-05/0.5294, allocations: 80.83 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5294, allocations: 0 / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001267/0.5295, allocations: 16 kB / 0.7483 GB, free: 17.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0002281/0.5298, allocations: 0.6734 MB / 0.7489 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5299, allocations: 60.45 kB / 0.749 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5299, allocations: 0 / 0.749 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.5299, allocations: 24.12 kB / 0.749 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.5301, allocations: 9.641 kB / 0.749 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.531, allocations: 1.391 MB / 0.7504 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.531, allocations: 69.42 kB / 0.7504 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.5311, allocations: 10.8 kB / 0.7504 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.5311, allocations: 17.95 kB / 0.7505 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.5311, allocations: 0 / 0.7505 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.5484, allocations: 2.345 MB / 0.7527 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.498, allocations: 4 kB / 0.7528 GB, free: 14.41 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.546640628948808] Failed to read output from testmodel.py, exit status != 0: 7.577156537212431 7.59049733 7.061210577 Calling exit ...