Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.001592/0.001592, 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.001958/0.001958, allocations: 210.3 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9748/0.9748, allocations: 145 MB / 454.5 MB, free: 10.04 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.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",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.002008/0.002008, allocations: 72.02 kB / 0.6287 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.162, allocations: 87.84 MB / 0.7145 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.00295/0.1649, allocations: 1.363 MB / 0.7158 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.3441, allocations: 151.4 MB / 0.8636 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.3442, allocations: 4 kB / 0.8636 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 6.347e-05/0.3442, allocations: 7.922 kB / 0.8636 GB, free: 2.504 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3444, allocations: 11.92 kB / 0.8636 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3456, allocations: 342.5 kB / 0.864 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3457, allocations: 63.77 kB / 0.864 GB, free: 2.094 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.3458, allocations: 11.98 kB / 0.864 GB, free: 2.082 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.3458, allocations: 23.98 kB / 0.8641 GB, free: 2.059 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.346, allocations: 35.83 kB / 0.8641 GB, free: 2.023 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.346, allocations: 4 kB / 0.8641 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.347, allocations: 438.9 kB / 0.8645 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.3471, allocations: 15.97 kB / 0.8645 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.3471, allocations: 35.8 kB / 0.8646 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.3475, allocations: 159.6 kB / 0.8647 GB, free: 1.383 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3475, allocations: 0 / 0.8647 GB, free: 1.383 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3475, allocations: 0 / 0.8647 GB, free: 1.383 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.3475, allocations: 0 / 0.8647 GB, free: 1.383 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005376/0.3481, allocations: 395 kB / 0.8651 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3481, allocations: 8.031 kB / 0.8651 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.3481, allocations: 4.188 kB / 0.8651 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.3482, allocations: 38.73 kB / 0.8651 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.3486, allocations: 36.91 kB / 0.8652 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3487, allocations: 171.9 kB / 0.8653 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3488, allocations: 4 kB / 0.8653 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.3488, allocations: 15.94 kB / 0.8654 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.349, allocations: 73.66 kB / 0.8654 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.349, allocations: 0 / 0.8654 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.349, allocations: 4 kB / 0.8654 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.349, allocations: 0 / 0.8654 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3491, allocations: 43.95 kB / 0.8655 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.3494, allocations: 205.4 kB / 0.8657 GB, free: 260 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3496, allocations: 86.55 kB / 0.8657 GB, free: 164 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.3496, allocations: 24.94 kB / 0.8658 GB, free: 136 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3547/0.7043, allocations: 179.9 kB / 0.8659 GB, free: 156.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.7044, allocations: 36.06 kB / 0.866 GB, free: 156.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.7044, allocations: 0 / 0.866 GB, free: 156.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=19): time 0.001582/0.706, allocations: 0.5417 MB / 0.8665 GB, free: 156.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.706, allocations: 57.69 kB / 0.8666 GB, free: 156.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.706, allocations: 101.3 kB / 0.8667 GB, free: 156 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.7061, allocations: 30.3 kB / 0.8667 GB, free: 155.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.7061, allocations: 82.48 kB / 0.8668 GB, free: 155.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.7061, allocations: 76.27 kB / 0.8668 GB, free: 155.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.7062, allocations: 42.55 kB / 0.8669 GB, free: 155.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.7063, allocations: 321.8 kB / 0.8672 GB, free: 155.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.7063, allocations: 35.55 kB / 0.8672 GB, free: 155.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.7064, allocations: 69.16 kB / 0.8673 GB, free: 155.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.7066, allocations: 115.5 kB / 0.8674 GB, free: 155.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7066, allocations: 0 / 0.8674 GB, free: 155.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002392/0.7068, allocations: 158 kB / 0.8675 GB, free: 155.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7068, allocations: 4.875 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7068, allocations: 0.8125 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7069, allocations: 7.156 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.707, allocations: 40.84 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7071, allocations: 3.281 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.7071, allocations: 2.156 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.7072, allocations: 18.66 kB / 0.8676 GB, free: 155.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 7.396e-05/0.7072, allocations: 117.9 kB / 0.8677 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.7073, allocations: 9.234 kB / 0.8677 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.7073, allocations: 19.64 kB / 0.8678 GB, free: 155.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7073, allocations: 4.125 kB / 0.8678 GB, free: 155.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7073, allocations: 0.8125 kB / 0.8678 GB, free: 155.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7073, allocations: 1.594 kB / 0.8678 GB, free: 155.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.7074, allocations: 191.4 kB / 0.868 GB, free: 155.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.7074, allocations: 4.703 kB / 0.868 GB, free: 155.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.7076, allocations: 39.62 kB / 0.868 GB, free: 155 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.7077, allocations: 1.5 kB / 0.868 GB, free: 155 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.7077, allocations: 4.969 kB / 0.868 GB, free: 155 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7077, allocations: 0.9375 kB / 0.868 GB, free: 155 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7077, allocations: 1.156 kB / 0.868 GB, free: 155 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.708, allocations: 212.6 kB / 0.8682 GB, free: 155 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.708, allocations: 97.56 kB / 0.8683 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.708, allocations: 2.984 kB / 0.8683 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7082, allocations: 8.531 kB / 0.8683 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.7082, allocations: 13.22 kB / 0.8683 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.7082, allocations: 3.875 kB / 0.8683 GB, free: 154.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.7082, allocations: 88.88 kB / 0.8684 GB, free: 154.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7082, allocations: 0.6562 kB / 0.8684 GB, free: 154.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000225/0.7085, allocations: 28.86 kB / 0.8684 GB, free: 154.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0004608/0.7089, allocations: 0.7451 MB / 0.8692 GB, free: 154.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.7091, allocations: 107.8 kB / 0.8693 GB, free: 154.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7091, allocations: 0.6562 kB / 0.8693 GB, free: 154.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.7092, allocations: 46.16 kB / 0.8693 GB, free: 154.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.7095, allocations: 17.08 kB / 0.8693 GB, free: 154.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.711, allocations: 1.845 MB / 0.8711 GB, free: 152.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.7111, allocations: 0.7001 MB / 0.8718 GB, free: 152.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.424e-05/0.7112, allocations: 26.55 kB / 0.8718 GB, free: 152.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.7112, allocations: 23.47 kB / 0.8719 GB, free: 152.1 MB / 0.67 GB Notification: Performance of SimCode: time 3.8e-07/0.7112, allocations: 0 / 0.8719 GB, free: 152.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.7322, allocations: 2.491 MB / 0.8743 GB, free: 151.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/9.318, allocations: 12.47 kB / 0.8743 GB, free: 151.6 MB / 0.67 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.224319991946686] Failed to read output from testmodel.py, exit status != 0: 9.443504127964843 9.458101712 9.107835791 Calling exit ...