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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 1.005/1.005, allocations: 145.2 MB / 447.9 MB, free: 13.66 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 68.69 kB / 0.6199 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.174, allocations: 86.64 MB / 0.7045 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002728/0.1767, allocations: 1.277 MB / 0.7058 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.3605, allocations: 147.4 MB / 0.8498 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.3606, allocations: 0 / 0.8498 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.3606, allocations: 3.938 kB / 0.8498 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.3607, allocations: 0 / 0.8498 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.3612, allocations: 95.56 kB / 0.8499 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.3613, allocations: 35.84 kB / 0.8499 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.3614, allocations: 4 kB / 0.8499 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.3614, allocations: 19.92 kB / 0.8499 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.3615, allocations: 7.984 kB / 0.8499 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3615, allocations: 0 / 0.8499 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.3618, allocations: 91.75 kB / 0.85 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3618, allocations: 4 kB / 0.85 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.3618, allocations: 19.91 kB / 0.85 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.362, allocations: 68.89 kB / 0.8501 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.362, allocations: 4 kB / 0.8501 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.362, allocations: 4 kB / 0.8501 GB, free: 13.58 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.362, allocations: 0 / 0.8501 GB, free: 13.58 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.0004556/0.3625, allocations: 351.3 kB / 0.8505 GB, free: 13.19 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3625, allocations: 12.03 kB / 0.8505 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.3625, allocations: 34.69 kB / 0.8505 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.3628, allocations: 12.92 kB / 0.8505 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3629, allocations: 168.1 kB / 0.8507 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3629, allocations: 12 kB / 0.8507 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3629, allocations: 11.89 kB / 0.8507 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3631, allocations: 53.66 kB / 0.8507 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3631, allocations: 0 / 0.8507 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3631, allocations: 4 kB / 0.8507 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3631, allocations: 0 / 0.8507 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.3632, allocations: 19.92 kB / 0.8508 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.3634, allocations: 161.6 kB / 0.8509 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3635, allocations: 50.56 kB / 0.851 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.3635, allocations: 20.83 kB / 0.851 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3635, allocations: 0 / 0.851 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3635, allocations: 34.8 kB / 0.851 GB, free: 12.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.3635, allocations: 0 / 0.851 GB, free: 12.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0008347/0.3644, allocations: 374.1 kB / 0.8514 GB, free: 12.06 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3644, allocations: 55.41 kB / 0.8514 GB, free: 12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.3645, allocations: 101.8 kB / 0.8515 GB, free: 11.89 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3645, allocations: 25.7 kB / 0.8516 GB, free: 11.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.3646, allocations: 80.14 kB / 0.8516 GB, free: 11.77 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.3646, allocations: 39.69 kB / 0.8517 GB, free: 11.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.3647, allocations: 25.72 kB / 0.8517 GB, free: 11.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3648, allocations: 318.8 kB / 0.852 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.3649, allocations: 20.11 kB / 0.852 GB, free: 11.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.3649, allocations: 41.69 kB / 0.8521 GB, free: 11.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.991e-05/0.365, allocations: 65.64 kB / 0.8521 GB, free: 11.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.365, allocations: 0 / 0.8521 GB, free: 11.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001469/0.3652, allocations: 94.25 kB / 0.8522 GB, free: 11.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3652, allocations: 4 kB / 0.8522 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3652, allocations: 4.078 kB / 0.8522 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3652, allocations: 0 / 0.8522 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3653, allocations: 27.92 kB / 0.8522 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3654, allocations: 7.984 kB / 0.8523 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.3654, allocations: 8 kB / 0.8523 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3654, allocations: 3.938 kB / 0.8523 GB, free: 11.09 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 8.588e-05/0.3655, allocations: 113.8 kB / 0.8524 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.3655, allocations: 7.953 kB / 0.8524 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.3655, allocations: 11.97 kB / 0.8524 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3655, allocations: 0 / 0.8524 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3655, allocations: 3.938 kB / 0.8524 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3656, allocations: 7.984 kB / 0.8524 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3657, allocations: 169.6 kB / 0.8526 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3657, allocations: 0 / 0.8526 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3658, allocations: 27.92 kB / 0.8526 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3658, allocations: 0 / 0.8526 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3658, allocations: 3.938 kB / 0.8526 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3658, allocations: 0 / 0.8526 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3658, allocations: 0 / 0.8526 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3661, allocations: 133.1 kB / 0.8527 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.3661, allocations: 89.06 kB / 0.8528 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3662, allocations: 4 kB / 0.8528 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.3662, allocations: 11.92 kB / 0.8528 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.3663, allocations: 4 kB / 0.8528 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3663, allocations: 0 / 0.8528 GB, free: 10.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.3663, allocations: 91.16 kB / 0.8529 GB, free: 10.34 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.3663, allocations: 0 / 0.8529 GB, free: 10.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000197/0.3665, allocations: 12 kB / 0.8529 GB, free: 10.32 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.0005125/0.367, allocations: 0.6674 MB / 0.8536 GB, free: 9.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3672, allocations: 55.95 kB / 0.8536 GB, free: 9.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3672, allocations: 7.984 kB / 0.8536 GB, free: 9.562 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.3672, allocations: 23.94 kB / 0.8537 GB, free: 9.539 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3675, allocations: 8 kB / 0.8537 GB, free: 9.531 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.369, allocations: 1.466 MB / 0.8551 GB, free: 7.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3694, allocations: 0.6885 MB / 0.8558 GB, free: 7.266 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.072e-05/0.3694, allocations: 12.61 kB / 0.8558 GB, free: 7.254 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3695, allocations: 15.44 kB / 0.8558 GB, free: 7.238 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.3695, allocations: 0 / 0.8558 GB, free: 7.238 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.398, allocations: 1.712 MB / 0.8575 GB, free: 5.676 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.815, allocations: 7.594 kB / 0.8575 GB, free: 5.676 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: 12.816383908037096] Failed to read output from testmodel.py, exit status != 0: 8.881837852299213 8.896096913 8.530360423 Calling exit ...