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.001633/0.001633, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001893/0.001893, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.002344/0.002344, allocations: 287.7 kB / 309.8 MB, free: 3.52 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.038/1.038, allocations: 180.6 MB / 0.5338 GB, free: 12.44 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",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.002807/0.002807, allocations: 97.41 kB / 0.7346 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.468, allocations: 95.35 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002007/0.47, allocations: 1.301 MB / 0.829 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.6476, allocations: 150.3 MB / 0.9758 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.6477, allocations: 0 / 0.9758 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.6477, allocations: 3.938 kB / 0.9758 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.6477, allocations: 3.938 kB / 0.9758 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.6481, allocations: 99.56 kB / 0.9759 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.6482, allocations: 39.83 kB / 0.9759 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.6482, allocations: 4 kB / 0.9759 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.6483, allocations: 8 kB / 0.9759 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.6483, allocations: 19.91 kB / 0.976 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.6483, allocations: 0 / 0.976 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.6486, allocations: 83.77 kB / 0.976 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.6486, allocations: 15.92 kB / 0.976 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.6486, allocations: 19.92 kB / 0.9761 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.6488, allocations: 66.5 kB / 0.9761 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6488, allocations: 4 kB / 0.9761 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6488, allocations: 0 / 0.9761 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6488, allocations: 0 / 0.9761 GB, free: 1.723 MB / 0.7012 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.0004486/0.6492, allocations: 351.3 kB / 0.9765 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6493, allocations: 12.03 kB / 0.9765 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.6493, allocations: 4.188 kB / 0.9765 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.6493, allocations: 34.75 kB / 0.9765 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.6495, allocations: 16.88 kB / 0.9765 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6497, allocations: 164 kB / 0.9767 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.6497, allocations: 8 kB / 0.9767 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.6497, allocations: 4 kB / 0.9767 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.6498, allocations: 61.59 kB / 0.9768 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6498, allocations: 0 / 0.9768 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.6498, allocations: 0 / 0.9768 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6498, allocations: 0 / 0.9768 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.6499, allocations: 23.92 kB / 0.9768 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.6501, allocations: 169.5 kB / 0.9769 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.6502, allocations: 46.56 kB / 0.977 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.6502, allocations: 24.84 kB / 0.977 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.6502, allocations: 0 / 0.977 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.6503, allocations: 34.5 kB / 0.977 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.6503, allocations: 4 kB / 0.9771 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0007622/0.651, allocations: 370.4 kB / 0.9774 GB, free: 204 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.6511, allocations: 55.41 kB / 0.9775 GB, free: 136 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.6512, allocations: 97.84 kB / 0.9775 GB, free: 28 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.6512, allocations: 25.7 kB / 0.9776 GB, free: 16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.6512, allocations: 80.14 kB / 0.9777 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.6513, allocations: 55.7 kB / 0.9777 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.6513, allocations: 25.72 kB / 0.9777 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6515, allocations: 314.8 kB / 0.978 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.6515, allocations: 19.98 kB / 0.978 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.6516, allocations: 36.08 kB / 0.9781 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.6517, allocations: 61.64 kB / 0.9781 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6517, allocations: 0 / 0.9781 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001436/0.6518, allocations: 106.1 kB / 0.9782 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6519, allocations: 4 kB / 0.9782 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6519, allocations: 0 / 0.9782 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6519, allocations: 4 kB / 0.9782 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.652, allocations: 23.92 kB / 0.9783 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.652, allocations: 8.141 kB / 0.9783 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.652, allocations: 3.938 kB / 0.9783 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.652, allocations: 8 kB / 0.9783 GB, free: 15.23 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.884e-05/0.6521, allocations: 117.3 kB / 0.9784 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.6522, allocations: 11.95 kB / 0.9784 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.6522, allocations: 7.969 kB / 0.9784 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6522, allocations: 4 kB / 0.9784 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6522, allocations: 0 / 0.9784 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6522, allocations: 7.922 kB / 0.9784 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.6524, allocations: 165.7 kB / 0.9786 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6524, allocations: 0 / 0.9786 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.6525, allocations: 31.98 kB / 0.9786 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6525, allocations: 0 / 0.9786 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.6525, allocations: 0 / 0.9786 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6525, allocations: 4 kB / 0.9786 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6525, allocations: 4 kB / 0.9786 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.6527, allocations: 140.9 kB / 0.9788 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.6528, allocations: 81.11 kB / 0.9788 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.6528, allocations: 4 kB / 0.9788 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.6529, allocations: 7.984 kB / 0.9789 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.6529, allocations: 4 kB / 0.9789 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6529, allocations: 7.938 kB / 0.9789 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.653, allocations: 79.28 kB / 0.9789 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.653, allocations: 0 / 0.9789 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001969/0.6532, allocations: 16 kB / 0.979 GB, free: 14.46 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.0005479/0.6537, allocations: 0.6709 MB / 0.9796 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.6539, allocations: 52.12 kB / 0.9797 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6539, allocations: 0 / 0.9797 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.6539, allocations: 27.92 kB / 0.9797 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.6541, allocations: 11.94 kB / 0.9797 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.6557, allocations: 1.445 MB / 0.9811 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.656, allocations: 0.6885 MB / 0.9818 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.39e-05/0.6561, allocations: 16.59 kB / 0.9818 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.6561, allocations: 15.44 kB / 0.9818 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6561, allocations: 0 / 0.9818 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.6761, allocations: 1.748 MB / 0.9835 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.553, allocations: 19.3 kB / 0.9835 GB, free: 9.801 MB / 0.7169 GB " [Timeout remaining time 651] (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: 12.372996052028611] Failed to read output from testmodel.py, exit status != 0: 8.673044835973997 8.686149504 8.034695503 Calling exit ...