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.001285/0.001285, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001541/0.001541, allocations: 220 kB / 22.24 MB, free: 5.109 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.812 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.939/0.939, allocations: 145 MB / 457.4 MB, free: 15.32 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.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",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.003177/0.003177, allocations: 72.47 kB / 0.6331 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.19, allocations: 87.88 MB / 0.7189 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002615/0.1926, allocations: 1.333 MB / 0.7202 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5656/0.7582, allocations: 130 MB / 0.8472 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.7583, allocations: 3.938 kB / 0.8472 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.7583, allocations: 3.984 kB / 0.8472 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.7584, allocations: 11.88 kB / 0.8472 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.7596, allocations: 334.6 kB / 0.8475 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.7597, allocations: 67.7 kB / 0.8476 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.7598, allocations: 4 kB / 0.8476 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.7598, allocations: 27.98 kB / 0.8476 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.76, allocations: 35.83 kB / 0.8477 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.76, allocations: 4 kB / 0.8477 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00086/0.7608, allocations: 366.8 kB / 0.848 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.7609, allocations: 23.97 kB / 0.848 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.7609, allocations: 19.92 kB / 0.8481 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.7613, allocations: 156.5 kB / 0.8482 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.7613, allocations: 0 / 0.8482 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7613, allocations: 0 / 0.8482 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7613, allocations: 0 / 0.8482 GB, free: 6.961 MB / 0.6231 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.0005195/0.7618, allocations: 316.2 kB / 0.8485 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7619, allocations: 12.03 kB / 0.8485 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.7619, allocations: 42.67 kB / 0.8486 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.7624, allocations: 40.84 kB / 0.8486 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.7625, allocations: 106.5 kB / 0.8487 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.7625, allocations: 11.92 kB / 0.8487 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.7626, allocations: 15.95 kB / 0.8487 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.7628, allocations: 202.2 kB / 0.8489 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7628, allocations: 3.938 kB / 0.8489 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7628, allocations: 8 kB / 0.8489 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7628, allocations: 0 / 0.8489 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.7629, allocations: 47.89 kB / 0.849 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.7632, allocations: 156.7 kB / 0.8491 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.7634, allocations: 85.31 kB / 0.8492 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.7634, allocations: 24.94 kB / 0.8492 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.7636, allocations: 28.3 kB / 0.8493 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.7636, allocations: 42.5 kB / 0.8493 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.7636, allocations: 3.938 kB / 0.8493 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001326/0.765, allocations: 482.4 kB / 0.8498 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.765, allocations: 55.41 kB / 0.8498 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.7651, allocations: 101.8 kB / 0.8499 GB, free: 5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7651, allocations: 29.7 kB / 0.8499 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.7652, allocations: 88.64 kB / 0.85 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.7652, allocations: 67.39 kB / 0.8501 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.7653, allocations: 41.7 kB / 0.8501 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7654, allocations: 318.8 kB / 0.8504 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.7655, allocations: 31.98 kB / 0.8505 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.7656, allocations: 75.95 kB / 0.8505 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.7658, allocations: 112.8 kB / 0.8506 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7658, allocations: 7.438 kB / 0.8506 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002343/0.766, allocations: 155.1 kB / 0.8508 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.766, allocations: 8 kB / 0.8508 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.766, allocations: 3.984 kB / 0.8508 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.766, allocations: 8 kB / 0.8508 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.7662, allocations: 35.92 kB / 0.8508 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.7662, allocations: 4 kB / 0.8509 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.7663, allocations: 7.938 kB / 0.8509 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.7663, allocations: 8 kB / 0.8509 GB, free: 3.969 MB / 0.6231 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 9.699e-05/0.7664, allocations: 117.8 kB / 0.851 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.7664, allocations: 11.89 kB / 0.851 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.7665, allocations: 16.47 kB / 0.851 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.7665, allocations: 4 kB / 0.851 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7665, allocations: 4 kB / 0.851 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.7665, allocations: 7.922 kB / 0.851 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.7667, allocations: 152.7 kB / 0.8512 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7667, allocations: 0 / 0.8512 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.7669, allocations: 39.98 kB / 0.8512 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7669, allocations: 0 / 0.8512 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.7669, allocations: 0 / 0.8512 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7669, allocations: 4 kB / 0.8512 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7669, allocations: 3.938 kB / 0.8512 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.7673, allocations: 225.2 kB / 0.8514 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.7673, allocations: 15.94 kB / 0.8514 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.7673, allocations: 11.62 kB / 0.8515 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.7675, allocations: 11.92 kB / 0.8515 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.7675, allocations: 15.92 kB / 0.8515 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.7675, allocations: 4 kB / 0.8515 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.7676, allocations: 83.28 kB / 0.8516 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.7676, allocations: 0 / 0.8516 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002232/0.7678, allocations: 24 kB / 0.8516 GB, free: 3.168 MB / 0.6231 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.0006682/0.7684, allocations: 0.7511 MB / 0.8523 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.7687, allocations: 105.5 kB / 0.8524 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.7687, allocations: 0 / 0.8524 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.7688, allocations: 51.91 kB / 0.8525 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.769, allocations: 18.59 kB / 0.8525 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.7712, allocations: 1.812 MB / 0.8543 GB, free: 320 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.7713, allocations: 88.48 kB / 0.8543 GB, free: 212 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.7714, allocations: 24.62 kB / 0.8544 GB, free: 188 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.7714, allocations: 23.44 kB / 0.8544 GB, free: 164 kB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.7714, allocations: 4 kB / 0.8544 GB, free: 160 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.8025, allocations: 2.977 MB / 0.8573 GB, free: 13.33 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.9, allocations: 6.531 kB / 0.8573 GB, free: 13.33 MB / 0.6388 GB " [Timeout remaining time 648] (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: 15.665177593007684] Failed to read output from testmodel.py, exit status != 0: 12.010624376125634 12.03631593 11.270006427 Calling exit ...