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.001258/0.001258, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001539/0.001539, allocations: 213.3 kB / 22.99 MB, free: 4.605 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 / 256.8 MB, free: 7.805 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 1.029/1.029, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",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.002096/0.002096, allocations: 65.95 kB / 0.6411 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1967, allocations: 89.18 MB / 0.7282 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.698/0.8947, allocations: 170.5 MB / 0.8947 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00843/0.9032, allocations: 3.938 MB / 0.8985 GB, free: 6.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.9046, allocations: 23.81 kB / 0.8985 GB, free: 6.746 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.9064, allocations: 469 kB / 0.899 GB, free: 6.285 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.9119, allocations: 1.626 MB / 0.9006 GB, free: 4.652 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.9172, allocations: 1.398 MB / 0.9019 GB, free: 3.258 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.9204, allocations: 1.678 MB / 0.9036 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.9223, allocations: 0.8405 MB / 0.9044 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.9252, allocations: 1.141 MB / 0.9055 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.927, allocations: 0.8603 MB / 0.9063 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.9274, allocations: 104 kB / 0.9064 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.9303, allocations: 1.138 MB / 0.9076 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.9307, allocations: 374.9 kB / 0.9079 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006428/0.9314, allocations: 478.1 kB / 0.9084 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.9342, allocations: 1.693 MB / 0.91 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9342, allocations: 0 / 0.91 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9342, allocations: 0 / 0.91 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.9343, allocations: 0 / 0.91 GB, free: 10.94 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.002838/0.9371, allocations: 1.223 MB / 0.9112 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.9371, allocations: 12.03 kB / 0.9112 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.9373, allocations: 90.52 kB / 0.9113 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.9404, allocations: 430.9 kB / 0.9117 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.9416, allocations: 0.582 MB / 0.9123 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.9417, allocations: 33 kB / 0.9123 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.9418, allocations: 48 kB / 0.9124 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.9441, allocations: 1.183 MB / 0.9135 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.9441, allocations: 7.953 kB / 0.9135 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.9442, allocations: 24 kB / 0.9136 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.9443, allocations: 31.92 kB / 0.9136 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.9469, allocations: 1.206 MB / 0.9148 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/0.9533, allocations: 3.936 MB / 0.9186 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.9556, allocations: 0.8436 MB / 0.9194 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.9569, allocations: 0.5771 MB / 0.92 GB, free: 440 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/0.9574, allocations: 84.34 kB / 0.9201 GB, free: 356 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.9574, allocations: 40 kB / 0.9201 GB, free: 308 kB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002625/0.9601, allocations: 0.6321 MB / 0.9207 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=50): time 4.177e-06/0.9601, allocations: 4 kB / 0.9207 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=50): time 0.01968/0.9798, allocations: 3.972 MB / 0.9246 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.9798, allocations: 55.84 kB / 0.9247 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.9809, allocations: 0.7234 MB / 0.9254 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.9811, allocations: 33.7 kB / 0.9254 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.9813, allocations: 324.9 kB / 0.9257 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.9816, allocations: 190.3 kB / 0.9259 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.9819, allocations: 154 kB / 0.926 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.982, allocations: 330 kB / 0.9264 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.9832, allocations: 0.4889 MB / 0.9268 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.9845, allocations: 0.633 MB / 0.9275 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.987, allocations: 1.101 MB / 0.9285 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.987, allocations: 0 / 0.9285 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01259/0.9996, allocations: 2.748 MB / 0.9312 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.9996, allocations: 8 kB / 0.9312 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9996, allocations: 0 / 0.9312 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009931/1.01, allocations: 1.734 MB / 0.9329 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/1.01, allocations: 123.8 kB / 0.933 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.024, allocations: 6.873 MB / 0.9397 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.025, allocations: 48.02 kB / 0.9398 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.025, allocations: 51.92 kB / 0.9398 GB, free: 11.72 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.0004296/1.026, allocations: 205.7 kB / 0.94 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/1.026, allocations: 87.44 kB / 0.9401 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/1.032, allocations: 1.916 MB / 0.942 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.032, allocations: 8 kB / 0.942 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.032, allocations: 4 kB / 0.942 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.032, allocations: 0 / 0.942 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/1.04, allocations: 2.666 MB / 0.9446 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.04, allocations: 8.031 kB / 0.9446 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/1.041, allocations: 115.8 kB / 0.9447 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003621/1.044, allocations: 0.7914 MB / 0.9455 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/1.044, allocations: 19.97 kB / 0.9455 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007525/1.052, allocations: 4.602 MB / 0.95 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.052, allocations: 7.938 kB / 0.95 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/1.059, allocations: 2.462 MB / 0.9524 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/1.06, allocations: 171.4 kB / 0.9526 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/1.06, allocations: 19.92 kB / 0.9526 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/1.061, allocations: 55.94 kB / 0.9527 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.061, allocations: 52.28 kB / 0.9527 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/1.061, allocations: 23.98 kB / 0.9527 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007122/1.062, allocations: 0.5029 MB / 0.9532 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.062, allocations: 4 kB / 0.9532 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001047/1.063, allocations: 295.8 kB / 0.9535 GB, free: 13.35 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.007687/1.071, allocations: 3.084 MB / 0.9565 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004679/1.075, allocations: 1.607 MB / 0.9581 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.075, allocations: 256 / 0.9581 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/1.078, allocations: 0.9693 MB / 0.959 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.08, allocations: 471 kB / 0.9595 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/1.115, allocations: 11.13 MB / 0.9704 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/1.115, allocations: 393.4 kB / 0.9707 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009804/1.116, allocations: 170.7 kB / 0.9709 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/1.117, allocations: 287.3 kB / 0.9712 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of SimCode: time 9.31e-07/1.117, allocations: 0 / 0.9712 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.229, allocations: 35.42 MB / 1.006 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.99, allocations: 6.297 kB / 1.006 GB, free: 8.055 MB / 0.7794 GB " [Timeout remaining time 646] (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.025667714886367] Failed to read output from testmodel.py, exit status != 0: 14.118386515881866 14.133696741 13.196191775 Calling exit ...