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.00186/0.00186, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002664/0.002664, allocations: 213.1 kB / 22.25 MB, free: 5.121 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.004 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.9119/0.9119, allocations: 145 MB / 457.4 MB, free: 15.53 MB / 366.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="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: 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.002187/0.002187, allocations: 70.14 kB / 0.6332 GB, free: 7.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1871, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003078/0.1902, allocations: 1.306 MB / 0.7202 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5673/0.7575, allocations: 150.3 MB / 0.867 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.7576, allocations: 4 kB / 0.867 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.7576, allocations: 3.938 kB / 0.867 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.7576, allocations: 3.938 kB / 0.867 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.7583, allocations: 92.06 kB / 0.8671 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.7585, allocations: 39.83 kB / 0.8672 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.7585, allocations: 8 kB / 0.8672 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.7586, allocations: 8 kB / 0.8672 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.7586, allocations: 19.91 kB / 0.8672 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.7586, allocations: 4 kB / 0.8672 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.759, allocations: 79.83 kB / 0.8673 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.759, allocations: 8 kB / 0.8673 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.759, allocations: 19.92 kB / 0.8673 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.7592, allocations: 68.7 kB / 0.8674 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7592, allocations: 0 / 0.8674 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7592, allocations: 3.938 kB / 0.8674 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7592, allocations: 0 / 0.8674 GB, free: 5.523 MB / 0.6387 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.0004875/0.7597, allocations: 278.2 kB / 0.8676 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.7598, allocations: 12.03 kB / 0.8677 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.7598, allocations: 30.75 kB / 0.8677 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.7601, allocations: 13.92 kB / 0.8677 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.7602, allocations: 110.5 kB / 0.8678 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7602, allocations: 7.938 kB / 0.8678 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.7602, allocations: 4 kB / 0.8678 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.7604, allocations: 49.69 kB / 0.8679 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7604, allocations: 0 / 0.8679 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7604, allocations: 0 / 0.8679 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7604, allocations: 4 kB / 0.8679 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.7605, allocations: 27.86 kB / 0.8679 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.7607, allocations: 144.6 kB / 0.868 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.7608, allocations: 43.11 kB / 0.8681 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.7608, allocations: 17.8 kB / 0.8681 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.7609, allocations: 0 / 0.8681 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.7609, allocations: 38.56 kB / 0.8681 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.7609, allocations: 0 / 0.8681 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007816/0.7617, allocations: 297 kB / 0.8684 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.7617, allocations: 51.41 kB / 0.8685 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.7618, allocations: 93.86 kB / 0.8686 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.7619, allocations: 29.7 kB / 0.8686 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.7619, allocations: 84.27 kB / 0.8687 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.762, allocations: 47.58 kB / 0.8687 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.762, allocations: 31.02 kB / 0.8687 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7622, allocations: 318.8 kB / 0.869 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.7622, allocations: 15.98 kB / 0.8691 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.7623, allocations: 37.7 kB / 0.8691 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.843e-05/0.7624, allocations: 59.22 kB / 0.8691 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7624, allocations: 8 kB / 0.8692 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001566/0.7625, allocations: 93.59 kB / 0.8692 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7626, allocations: 8 kB / 0.8693 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7626, allocations: 0 / 0.8693 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7626, allocations: 0 / 0.8693 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7627, allocations: 23.94 kB / 0.8693 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7627, allocations: 0 / 0.8693 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.7628, allocations: 4 kB / 0.8693 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.7628, allocations: 4.703 kB / 0.8693 GB, free: 3.355 MB / 0.6387 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 0.0001147/0.7629, allocations: 129.7 kB / 0.8694 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.7629, allocations: 7.953 kB / 0.8694 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.7629, allocations: 7.906 kB / 0.8694 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7629, allocations: 0 / 0.8694 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7629, allocations: 0 / 0.8694 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7629, allocations: 7.922 kB / 0.8694 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.7631, allocations: 153.2 kB / 0.8696 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7631, allocations: 0 / 0.8696 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.7632, allocations: 24.86 kB / 0.8696 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.7632, allocations: 0 / 0.8696 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.7633, allocations: 0 / 0.8696 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7633, allocations: 4 kB / 0.8696 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7633, allocations: 0 / 0.8696 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.7635, allocations: 137.7 kB / 0.8697 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.7635, allocations: 8.031 kB / 0.8697 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.7636, allocations: 9.125 kB / 0.8698 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.7636, allocations: 4 kB / 0.8698 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.7637, allocations: 7.984 kB / 0.8698 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.7637, allocations: 0 / 0.8698 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.7637, allocations: 87.28 kB / 0.8698 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7637, allocations: 0 / 0.8698 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002051/0.7639, allocations: 15.94 kB / 0.8699 GB, free: 2.699 MB / 0.6387 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.0006018/0.7645, allocations: 0.6676 MB / 0.8705 GB, free: 2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.7647, allocations: 52.39 kB / 0.8706 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7647, allocations: 0 / 0.8706 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.7647, allocations: 31.86 kB / 0.8706 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.765, allocations: 8.312 kB / 0.8706 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.7667, allocations: 1.453 MB / 0.872 GB, free: 388 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.7671, allocations: 0.6846 MB / 0.8727 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.135e-05/0.7672, allocations: 16.59 kB / 0.8727 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.7672, allocations: 15.44 kB / 0.8727 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.7672, allocations: 0 / 0.8727 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.7975, allocations: 1.842 MB / 0.8745 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.81, allocations: 5.125 kB / 0.8745 GB, free: 13.93 MB / 0.6544 GB " [Timeout remaining time 648] (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: 15.557100855978206] Failed to read output from testmodel.py, exit status != 0: 11.918764343950897 11.938404484 11.175782427 Calling exit ...