Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001848/0.001848, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002619/0.002619, allocations: 209.6 kB / 22.25 MB, free: 5.086 MB / 14.72 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002633/0.002633, allocations: 294.7 kB / 312.7 MB, free: 2.91 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 12.99 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 99.75 kB / 0.7396 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2139, allocations: 95.38 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003084/0.217, allocations: 1.301 MB / 0.834 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.4024, allocations: 150.3 MB / 0.9808 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.4024, allocations: 0 / 0.9808 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.4025, allocations: 7.984 kB / 0.9808 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.4025, allocations: 7.875 kB / 0.9808 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.4031, allocations: 95.56 kB / 0.9809 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.4032, allocations: 31.91 kB / 0.9809 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.4032, allocations: 4 kB / 0.9809 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.4033, allocations: 23.86 kB / 0.9809 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.4034, allocations: 19.91 kB / 0.981 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.4034, allocations: 4 kB / 0.981 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.4037, allocations: 71.84 kB / 0.981 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.4037, allocations: 11.97 kB / 0.981 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.4038, allocations: 11.94 kB / 0.981 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.404, allocations: 72.05 kB / 0.9811 GB, free: 132 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.404, allocations: 0 / 0.9811 GB, free: 132 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.404, allocations: 0 / 0.9811 GB, free: 132 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.404, allocations: 0 / 0.9811 GB, free: 132 kB / 0.7169 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.3719/0.7759, allocations: 273.5 kB / 0.9814 GB, free: 154 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.776, allocations: 11.12 kB / 0.9814 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.776, allocations: 36.27 kB / 0.9814 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.7763, allocations: 11.91 kB / 0.9814 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.7763, allocations: 113.5 kB / 0.9815 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.7764, allocations: 8.031 kB / 0.9815 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.7764, allocations: 18.89 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.7765, allocations: 47.12 kB / 0.9816 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7765, allocations: 3.938 kB / 0.9816 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.7766, allocations: 3.906 kB / 0.9816 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.7766, allocations: 1.062 kB / 0.9816 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.7766, allocations: 18.73 kB / 0.9816 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.7768, allocations: 136.1 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7769, allocations: 47.36 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.777, allocations: 16.45 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.777, allocations: 1.594 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.777, allocations: 31.44 kB / 0.9819 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.777, allocations: 0.9062 kB / 0.9819 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008178/0.7778, allocations: 303.2 kB / 0.9821 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.7779, allocations: 53.31 kB / 0.9822 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.7779, allocations: 91.94 kB / 0.9823 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.7779, allocations: 31.5 kB / 0.9823 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.778, allocations: 81.08 kB / 0.9824 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.778, allocations: 44.66 kB / 0.9824 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.7781, allocations: 27.89 kB / 0.9825 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.7781, allocations: 316.6 kB / 0.9828 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.7782, allocations: 20.17 kB / 0.9828 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.7783, allocations: 36.61 kB / 0.9828 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.7784, allocations: 67.14 kB / 0.9829 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.7784, allocations: 0 / 0.9829 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000187/0.7786, allocations: 98.7 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.7786, allocations: 9.438 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.7786, allocations: 3.969 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.7787, allocations: 2.375 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.7788, allocations: 20.56 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.7788, allocations: 1.453 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.7789, allocations: 5.188 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.7789, allocations: 4.797 kB / 0.983 GB, free: 152.8 MB / 0.7169 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 9.8e-05/0.779, allocations: 117.7 kB / 0.9831 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.779, allocations: 11.31 kB / 0.9831 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.7791, allocations: 15.69 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7791, allocations: 1.906 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7791, allocations: 0.5625 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7791, allocations: 0.7031 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7792, allocations: 141.5 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7792, allocations: 1.312 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.7794, allocations: 27.33 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7794, allocations: 1.547 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.7794, allocations: 2.031 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.7794, allocations: 4.156 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7794, allocations: 0 / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.7797, allocations: 137.7 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.7798, allocations: 6.188 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.7798, allocations: 4.734 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.7799, allocations: 10.75 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.7799, allocations: 8.625 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.78, allocations: 3.516 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.78, allocations: 81.08 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.78, allocations: 0 / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002322/0.7802, allocations: 19.53 kB / 0.9836 GB, free: 152.3 MB / 0.7169 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.0005004/0.7807, allocations: 0.68 MB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.7809, allocations: 52.64 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7809, allocations: 0 / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.781, allocations: 30.64 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.7814, allocations: 10.67 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.783, allocations: 1.447 MB / 0.9858 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.7831, allocations: 0.6856 MB / 0.9864 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.813e-05/0.7832, allocations: 14.47 kB / 0.9864 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.7832, allocations: 16.97 kB / 0.9865 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.7832, allocations: 0 / 0.9865 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.8154, allocations: 1.845 MB / 0.9883 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.67, allocations: 16.09 kB / 0.9883 GB, free: 149.4 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.914382599992678] Failed to read output from testmodel.py, exit status != 0: 11.770250143948942 11.792819278 11.384472826 Calling exit ...