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.001319/0.001319, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001452/0.001452, allocations: 214.6 kB / 23.78 MB, free: 4.523 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9651/0.9651, allocations: 150 MB / 464 MB, free: 10.22 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.002005/0.002005, allocations: 58.31 kB / 0.6419 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1999, allocations: 89.17 MB / 0.729 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6033/0.8032, allocations: 170.4 MB / 0.8954 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007761/0.8109, allocations: 3.937 MB / 0.8993 GB, free: 6.645 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009392/0.8119, allocations: 31.75 kB / 0.8993 GB, free: 6.613 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.8134, allocations: 453 kB / 0.8997 GB, free: 6.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.8179, allocations: 1.63 MB / 0.9013 GB, free: 4.531 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.8218, allocations: 1.409 MB / 0.9027 GB, free: 3.125 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.8246, allocations: 1.674 MB / 0.9043 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.8262, allocations: 0.8613 MB / 0.9052 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.829, allocations: 1.13 MB / 0.9063 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.8312, allocations: 0.9306 MB / 0.9072 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005091/0.8317, allocations: 104 kB / 0.9073 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.8349, allocations: 1.145 MB / 0.9084 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007845/0.8356, allocations: 378.9 kB / 0.9088 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.837, allocations: 474.1 kB / 0.9092 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.8415, allocations: 1.7 MB / 0.9109 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8415, allocations: 4 kB / 0.9109 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8415, allocations: 3.938 kB / 0.9109 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.934e-05/0.8416, allocations: 4 kB / 0.9109 GB, free: 10.71 MB / 0.6856 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.003939/0.8455, allocations: 1.208 MB / 0.9121 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.8456, allocations: 8.031 kB / 0.9121 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.799e-05/0.8456, allocations: 17 kB / 0.9121 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.8459, allocations: 98.5 kB / 0.9122 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.8496, allocations: 423.9 kB / 0.9126 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.8514, allocations: 0.5771 MB / 0.9131 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.8515, allocations: 45 kB / 0.9132 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.8517, allocations: 48 kB / 0.9132 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.8545, allocations: 1.192 MB / 0.9144 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.8545, allocations: 3.953 kB / 0.9144 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.8547, allocations: 20 kB / 0.9144 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.8547, allocations: 31.92 kB / 0.9144 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.8577, allocations: 1.214 MB / 0.9156 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007681/0.8654, allocations: 3.925 MB / 0.9195 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.8678, allocations: 0.8436 MB / 0.9203 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.8692, allocations: 0.5814 MB / 0.9209 GB, free: 196 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005383/0.8697, allocations: 80.34 kB / 0.9209 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.528e-05/0.8698, allocations: 43 kB / 0.921 GB, free: 64 kB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002682/0.8725, allocations: 0.636 MB / 0.9216 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=50): time 8.566e-06/0.8725, allocations: 0 / 0.9216 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=50): time 0.02089/0.8934, allocations: 3.976 MB / 0.9255 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.8934, allocations: 55.84 kB / 0.9255 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.8947, allocations: 0.7196 MB / 0.9262 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.895, allocations: 29.7 kB / 0.9263 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.8953, allocations: 332.8 kB / 0.9266 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.8956, allocations: 194.3 kB / 0.9268 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/0.896, allocations: 150 kB / 0.9269 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8962, allocations: 322 kB / 0.9272 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.8974, allocations: 0.4889 MB / 0.9277 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.8987, allocations: 0.629 MB / 0.9283 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.9012, allocations: 1.106 MB / 0.9294 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.9012, allocations: 4 kB / 0.9294 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01324/0.9144, allocations: 2.744 MB / 0.9321 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.9145, allocations: 4 kB / 0.9321 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.9145, allocations: 7.938 kB / 0.9321 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.9246, allocations: 1.726 MB / 0.9338 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.9255, allocations: 125.7 kB / 0.9339 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/0.9393, allocations: 6.875 MB / 0.9406 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.9404, allocations: 47.94 kB / 0.9406 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.9406, allocations: 54.8 kB / 0.9407 GB, free: 11.48 MB / 0.7169 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.0004899/0.9411, allocations: 207.7 kB / 0.9409 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.9414, allocations: 87.42 kB / 0.941 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006166/0.9476, allocations: 1.916 MB / 0.9429 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.9476, allocations: 11.94 kB / 0.9429 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9476, allocations: 0 / 0.9429 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.9476, allocations: 7.984 kB / 0.9429 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/0.9548, allocations: 2.658 MB / 0.9455 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9548, allocations: 0 / 0.9455 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/0.9556, allocations: 124 kB / 0.9456 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/0.9591, allocations: 0.7942 MB / 0.9464 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/0.9592, allocations: 19.98 kB / 0.9464 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007099/0.9663, allocations: 4.602 MB / 0.9509 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9663, allocations: 3.938 kB / 0.9509 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.9732, allocations: 2.465 MB / 0.9533 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.9738, allocations: 175.3 kB / 0.9535 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.9741, allocations: 15.98 kB / 0.9535 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.975, allocations: 43.95 kB / 0.9535 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.9752, allocations: 64.27 kB / 0.9536 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.9753, allocations: 19.98 kB / 0.9536 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007987/0.9761, allocations: 0.5029 MB / 0.9541 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9761, allocations: 0 / 0.9541 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00113/0.9773, allocations: 303.8 kB / 0.9544 GB, free: 13.11 MB / 0.7325 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.007359/0.9846, allocations: 3.077 MB / 0.9574 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.9894, allocations: 1.615 MB / 0.959 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.9894, allocations: 0 / 0.959 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.9917, allocations: 0.9607 MB / 0.9599 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.9943, allocations: 478.4 kB / 0.9603 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03777/1.032, allocations: 11.13 MB / 0.9712 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/1.033, allocations: 397.4 kB / 0.9716 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009531/1.034, allocations: 166.7 kB / 0.9718 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/1.034, allocations: 291.3 kB / 0.972 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of SimCode: time 1.333e-06/1.034, allocations: 7.938 kB / 0.972 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.146, allocations: 35 MB / 1.006 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.81, allocations: 6.688 kB / 1.006 GB, free: 8.203 MB / 0.7794 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: 18.973704552045092] Failed to read output from testmodel.py, exit status != 0: 15.002905936096795 15.031164904 14.183573919 Calling exit ...