Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001362/0.001362, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001474/0.001474, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9906/0.9906, allocations: 144.9 MB / 454.5 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001999/0.001999, allocations: 62.44 kB / 0.6287 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1688, allocations: 87.85 MB / 0.7145 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002871/0.1717, allocations: 1.285 MB / 0.7157 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1856/0.3573, allocations: 150.3 MB / 0.8625 GB, free: 3.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3573, allocations: 0 / 0.8625 GB, free: 3.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.3573, allocations: 0 / 0.8625 GB, free: 3.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.3574, allocations: 7.922 kB / 0.8625 GB, free: 3.562 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.3578, allocations: 91.56 kB / 0.8626 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.3579, allocations: 43.86 kB / 0.8626 GB, free: 3.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.358, allocations: 4 kB / 0.8626 GB, free: 3.426 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.358, allocations: 15.97 kB / 0.8626 GB, free: 3.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.3581, allocations: 15.92 kB / 0.8627 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3581, allocations: 4 kB / 0.8627 GB, free: 3.391 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.3583, allocations: 75.77 kB / 0.8627 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.3583, allocations: 11.98 kB / 0.8627 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.3584, allocations: 19.92 kB / 0.8628 GB, free: 3.285 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3585, allocations: 68.03 kB / 0.8628 GB, free: 3.219 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3585, allocations: 0 / 0.8628 GB, free: 3.219 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3585, allocations: 4 kB / 0.8628 GB, free: 3.215 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3586, allocations: 0 / 0.8628 GB, free: 3.215 MB / 0.67 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.0004818/0.359, allocations: 343.4 kB / 0.8632 GB, free: 2.832 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3591, allocations: 12.03 kB / 0.8632 GB, free: 2.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.3591, allocations: 192 / 0.8632 GB, free: 2.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.3591, allocations: 38.73 kB / 0.8632 GB, free: 2.773 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.3593, allocations: 12.89 kB / 0.8632 GB, free: 2.762 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3595, allocations: 175.9 kB / 0.8634 GB, free: 2.551 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3595, allocations: 0 / 0.8634 GB, free: 2.551 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.3595, allocations: 11.98 kB / 0.8634 GB, free: 2.539 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3596, allocations: 49.62 kB / 0.8635 GB, free: 2.484 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3596, allocations: 0 / 0.8635 GB, free: 2.484 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3597, allocations: 4 kB / 0.8635 GB, free: 2.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3597, allocations: 0 / 0.8635 GB, free: 2.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.3597, allocations: 15.98 kB / 0.8635 GB, free: 2.465 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.3599, allocations: 165.6 kB / 0.8636 GB, free: 2.254 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.36, allocations: 62.52 kB / 0.8637 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.36, allocations: 16.95 kB / 0.8637 GB, free: 2.164 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3601, allocations: 7.984 kB / 0.8637 GB, free: 2.156 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.3601, allocations: 30.56 kB / 0.8637 GB, free: 2.117 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.3601, allocations: 0 / 0.8637 GB, free: 2.117 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0007811/0.3609, allocations: 374.4 kB / 0.8641 GB, free: 1.699 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3609, allocations: 55.41 kB / 0.8641 GB, free: 1.633 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.361, allocations: 89.86 kB / 0.8642 GB, free: 1.535 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.361, allocations: 29.7 kB / 0.8643 GB, free: 1.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.3611, allocations: 80.14 kB / 0.8643 GB, free: 1.418 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.3611, allocations: 47.62 kB / 0.8644 GB, free: 1.371 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3612, allocations: 29.7 kB / 0.8644 GB, free: 1.336 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3613, allocations: 322.9 kB / 0.8647 GB, free: 1.012 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.3613, allocations: 19.98 kB / 0.8647 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.3614, allocations: 37.64 kB / 0.8648 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.3615, allocations: 53.72 kB / 0.8648 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3615, allocations: 0 / 0.8648 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001437/0.3616, allocations: 101.6 kB / 0.8649 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3616, allocations: 7.984 kB / 0.8649 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3616, allocations: 7.938 kB / 0.8649 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3617, allocations: 4 kB / 0.8649 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3618, allocations: 16 kB / 0.865 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3618, allocations: 4 kB / 0.865 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.3618, allocations: 3.938 kB / 0.865 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3618, allocations: 4 kB / 0.865 GB, free: 0.7383 MB / 0.67 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.612e-05/0.3619, allocations: 121.8 kB / 0.8651 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.3619, allocations: 7.953 kB / 0.8651 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.362, allocations: 7.969 kB / 0.8651 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.362, allocations: 4 kB / 0.8651 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.362, allocations: 4 kB / 0.8651 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.362, allocations: 3.938 kB / 0.8651 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3621, allocations: 165.7 kB / 0.8653 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3621, allocations: 4 kB / 0.8653 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3623, allocations: 23.98 kB / 0.8653 GB, free: 356 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3623, allocations: 0 / 0.8653 GB, free: 356 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3623, allocations: 4 kB / 0.8653 GB, free: 352 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3623, allocations: 0 / 0.8653 GB, free: 352 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3623, allocations: 0 / 0.8653 GB, free: 352 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3625, allocations: 144.9 kB / 0.8654 GB, free: 188 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.3626, allocations: 81.14 kB / 0.8655 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3626, allocations: 4 kB / 0.8655 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.3627, allocations: 4 kB / 0.8655 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.3627, allocations: 11.92 kB / 0.8655 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3627, allocations: 11.94 kB / 0.8655 GB, free: 56 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3749/0.7376, allocations: 75.28 kB / 0.8656 GB, free: 156.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.002e-06/0.7376, allocations: 0 / 0.8656 GB, free: 156.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003236/0.7379, allocations: 17.25 kB / 0.8656 GB, free: 156.1 MB / 0.67 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.0005786/0.7385, allocations: 0.6681 MB / 0.8663 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.7387, allocations: 52.66 kB / 0.8663 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7387, allocations: 4.812 kB / 0.8663 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.7388, allocations: 25.56 kB / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.7391, allocations: 11.73 kB / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.7406, allocations: 1.447 MB / 0.8678 GB, free: 154.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.7407, allocations: 0.6893 MB / 0.8685 GB, free: 153.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.507e-05/0.7408, allocations: 11.36 kB / 0.8685 GB, free: 153.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.7409, allocations: 15.97 kB / 0.8685 GB, free: 153.7 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.7409, allocations: 0 / 0.8685 GB, free: 153.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.7612, allocations: 1.757 MB / 0.8702 GB, free: 153.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/9.135, allocations: 8.344 kB / 0.8702 GB, free: 153.3 MB / 0.67 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.1766359989997] Failed to read output from testmodel.py, exit status != 0: 9.259447137999814 9.282126853 8.919350905 Calling exit ...