Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.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.001347/0.001347, allocations: 105 kB / 20.48 MB, free: 1.488 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.001427/0.001427, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.511/1.511, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9923/0.9923, allocations: 150 MB / 464 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002026/0.002026, allocations: 70.66 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2095, allocations: 89.17 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6593/0.8689, allocations: 196.7 MB / 0.9212 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008542/0.8774, allocations: 4.217 MB / 0.9253 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.8787, allocations: 27.75 kB / 0.9253 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.8803, allocations: 0.4892 MB / 0.9258 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.8848, allocations: 1.665 MB / 0.9274 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.8886, allocations: 1.422 MB / 0.9288 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002784/0.8914, allocations: 1.674 MB / 0.9305 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.8927, allocations: 0.8613 MB / 0.9313 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.8951, allocations: 1.122 MB / 0.9324 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.8966, allocations: 0.9345 MB / 0.9333 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.8969, allocations: 104 kB / 0.9334 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.8998, allocations: 1.45 MB / 0.9348 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.9003, allocations: 382.9 kB / 0.9352 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000716/0.901, allocations: 0.5328 MB / 0.9357 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.904, allocations: 1.727 MB / 0.9374 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.904, allocations: 3.938 kB / 0.9374 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.693e-06/0.904, allocations: 0 / 0.9374 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.904, allocations: 0 / 0.9374 GB, free: 1.949 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003147/0.9071, allocations: 1.216 MB / 0.9386 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9072, allocations: 8.031 kB / 0.9386 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.041e-05/0.9072, allocations: 13.56 kB / 0.9386 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.9074, allocations: 94.52 kB / 0.9387 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.9107, allocations: 430.9 kB / 0.9391 GB, free: 156 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.9121, allocations: 0.5815 MB / 0.9397 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.9121, allocations: 36.98 kB / 0.9397 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.9123, allocations: 51.98 kB / 0.9398 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.9146, allocations: 1.129 MB / 0.9409 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.9146, allocations: 7.953 kB / 0.9409 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/0.9147, allocations: 19.94 kB / 0.9409 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.9147, allocations: 35.92 kB / 0.9409 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.9175, allocations: 1.21 MB / 0.9421 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/0.9247, allocations: 4.351 MB / 0.9464 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.9272, allocations: 0.8475 MB / 0.9472 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.9285, allocations: 0.5767 MB / 0.9478 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.9291, allocations: 84.33 kB / 0.9478 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.9291, allocations: 46.92 kB / 0.9479 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002837/0.932, allocations: 0.6282 MB / 0.9485 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 9.548e-06/0.932, allocations: 0 / 0.9485 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.02111/0.9531, allocations: 3.976 MB / 0.9524 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.9531, allocations: 59.84 kB / 0.9524 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.9544, allocations: 0.7118 MB / 0.9531 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.9547, allocations: 37.7 kB / 0.9532 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.955, allocations: 332.8 kB / 0.9535 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.9553, allocations: 182.4 kB / 0.9537 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.9558, allocations: 158 kB / 0.9538 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9559, allocations: 322 kB / 0.9541 GB, free: 456 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.9572, allocations: 0.4936 MB / 0.9546 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.9585, allocations: 0.575 MB / 0.9552 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.9611, allocations: 1.101 MB / 0.9562 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.9611, allocations: 4 kB / 0.9562 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01344/0.9745, allocations: 2.748 MB / 0.9589 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.9745, allocations: 4 kB / 0.9589 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.9745, allocations: 7.938 kB / 0.9589 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.985, allocations: 1.732 MB / 0.9606 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.9859, allocations: 131.7 kB / 0.9607 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/1.001, allocations: 6.945 MB / 0.9675 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.002, allocations: 44.02 kB / 0.9676 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/1.002, allocations: 51.91 kB / 0.9676 GB, free: 2.305 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007272/1.003, allocations: 219.8 kB / 0.9678 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/1.003, allocations: 87.42 kB / 0.9679 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006612/1.01, allocations: 1.916 MB / 0.9698 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.01, allocations: 4 kB / 0.9698 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.01, allocations: 4 kB / 0.9698 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.01, allocations: 3.984 kB / 0.9698 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008306/1.018, allocations: 2.818 MB / 0.9726 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.018, allocations: 4 kB / 0.9726 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/1.019, allocations: 123.7 kB / 0.9727 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003598/1.023, allocations: 0.7939 MB / 0.9734 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.023, allocations: 15.98 kB / 0.9735 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007669/1.03, allocations: 4.647 MB / 0.978 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.03, allocations: 4 kB / 0.978 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00772/1.038, allocations: 2.461 MB / 0.9804 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/1.039, allocations: 179.5 kB / 0.9806 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/1.039, allocations: 8 kB / 0.9806 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.04, allocations: 51.94 kB / 0.9806 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.041, allocations: 60.25 kB / 0.9807 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.472e-05/1.041, allocations: 23.98 kB / 0.9807 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008655/1.042, allocations: 0.5029 MB / 0.9812 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/1.042, allocations: 3.938 kB / 0.9812 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001377/1.043, allocations: 303.8 kB / 0.9815 GB, free: 3.723 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008069/1.051, allocations: 3.088 MB / 0.9845 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005009/1.056, allocations: 1.607 MB / 0.9861 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.056, allocations: 0 / 0.9861 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.059, allocations: 0.9568 MB / 0.987 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/1.061, allocations: 482.8 kB / 0.9875 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03852/1.1, allocations: 11.13 MB / 0.9984 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/1.101, allocations: 0.979 MB / 0.9993 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001039/1.102, allocations: 170.7 kB / 0.9995 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/1.102, allocations: 295.3 kB / 0.9998 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of SimCode: time 8.72e-07/1.102, allocations: 0 / 0.9998 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08397/1.186, allocations: 32.42 MB / 1.031 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.89, allocations: 4.062 kB / 1.031 GB, free: 0.6445 MB / 0.795 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.009472780046053] Failed to read output from testmodel.py, exit status != 0: 15.070644602994435 15.090611549 14.181269448 Calling exit ...