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.001355/0.001355, allocations: 118 kB / 17.84 MB, free: 5.234 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.001383/0.001383, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.505/1.505, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9702/0.9702, allocations: 150 MB / 460.2 MB, free: 5.312 MB / 350.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.00199/0.00199, allocations: 73.66 kB / 0.6368 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1864, allocations: 89.13 MB / 0.7238 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.7136/0.9, allocations: 196.3 MB / 0.9156 GB, free: 2.438 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0065/0.9065, allocations: 4.214 MB / 0.9197 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.9081, allocations: 28.84 kB / 0.9197 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.9097, allocations: 489.1 kB / 0.9202 GB, free: 2.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.9145, allocations: 1.657 MB / 0.9218 GB, free: 2.227 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.9184, allocations: 1.371 MB / 0.9231 GB, free: 2.172 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.9214, allocations: 1.667 MB / 0.9248 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.9227, allocations: 0.8711 MB / 0.9256 GB, free: 2.074 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.9255, allocations: 1.126 MB / 0.9267 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.9271, allocations: 0.9403 MB / 0.9276 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.9273, allocations: 101 kB / 0.9277 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.9311, allocations: 1.427 MB / 0.9291 GB, free: 1.945 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.9315, allocations: 379.2 kB / 0.9295 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006579/0.9322, allocations: 0.5384 MB / 0.93 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003887/0.9361, allocations: 1.726 MB / 0.9317 GB, free: 1.582 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9361, allocations: 0 / 0.9317 GB, free: 1.582 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9361, allocations: 0 / 0.9317 GB, free: 1.582 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.9361, allocations: 2.625 kB / 0.9317 GB, free: 1.582 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003134/0.9392, allocations: 1.282 MB / 0.9329 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9393, allocations: 10.06 kB / 0.9329 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.827e-05/0.9393, allocations: 17.91 kB / 0.933 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.9394, allocations: 92.94 kB / 0.9331 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.9427, allocations: 426.8 kB / 0.9335 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.9438, allocations: 0.6493 MB / 0.9341 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.9439, allocations: 35.78 kB / 0.9341 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.944, allocations: 51.75 kB / 0.9342 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.9459, allocations: 1.128 MB / 0.9353 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.946, allocations: 13.23 kB / 0.9353 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.9461, allocations: 19.59 kB / 0.9353 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.9461, allocations: 32.67 kB / 0.9353 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.9484, allocations: 1.205 MB / 0.9365 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.9549, allocations: 4.392 MB / 0.9408 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.9571, allocations: 0.8437 MB / 0.9416 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.9582, allocations: 0.5749 MB / 0.9422 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/0.9589, allocations: 320.1 kB / 0.9425 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.9589, allocations: 35 kB / 0.9425 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002448/0.9614, allocations: 0.6323 MB / 0.9431 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 6.693e-06/0.9614, allocations: 11.92 kB / 0.9432 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.02034/0.9817, allocations: 4.132 MB / 0.9472 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.9817, allocations: 54.66 kB / 0.9472 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9829, allocations: 0.7175 MB / 0.9479 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.9832, allocations: 32.27 kB / 0.948 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.9835, allocations: 334.6 kB / 0.9483 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.9837, allocations: 191.1 kB / 0.9485 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.984, allocations: 155.3 kB / 0.9486 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9842, allocations: 327.6 kB / 0.9489 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.9853, allocations: 496.9 kB / 0.9494 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.9865, allocations: 0.5816 MB / 0.95 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.9889, allocations: 1.098 MB / 0.9511 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9889, allocations: 0 / 0.9511 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01303/1.002, allocations: 2.752 MB / 0.9537 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.002, allocations: 6.5 kB / 0.9537 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.002, allocations: 7.156 kB / 0.9538 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009982/1.012, allocations: 1.734 MB / 0.9554 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/1.013, allocations: 124 kB / 0.9556 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/1.027, allocations: 7.136 MB / 0.9625 GB, free: 472 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.028, allocations: 45.97 kB / 0.9626 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.028, allocations: 52.17 kB / 0.9626 GB, free: 420 kB / 0.6856 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.0005125/1.029, allocations: 204.3 kB / 0.9628 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/1.029, allocations: 91.31 kB / 0.9629 GB, free: 200 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/1.035, allocations: 1.919 MB / 0.9648 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.035, allocations: 6.719 kB / 0.9648 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.035, allocations: 7.203 kB / 0.9648 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.035, allocations: 0 / 0.9648 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007757/1.043, allocations: 2.857 MB / 0.9676 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.043, allocations: 0 / 0.9676 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/1.044, allocations: 117 kB / 0.9677 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003621/1.047, allocations: 0.8042 MB / 0.9685 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/1.047, allocations: 15.98 kB / 0.9685 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007632/1.055, allocations: 4.858 MB / 0.9732 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.055, allocations: 4 kB / 0.9732 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007391/1.062, allocations: 2.462 MB / 0.9757 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/1.063, allocations: 253.1 kB / 0.9759 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.063, allocations: 16 kB / 0.9759 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/1.064, allocations: 47.94 kB / 0.976 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.064, allocations: 54.84 kB / 0.976 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/1.065, allocations: 23.98 kB / 0.976 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007535/1.065, allocations: 0.5068 MB / 0.9765 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.065, allocations: 3.938 kB / 0.9765 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001215/1.067, allocations: 295.8 kB / 0.9768 GB, free: 2.504 MB / 0.7012 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.00781/1.074, allocations: 3.091 MB / 0.9798 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004982/1.079, allocations: 1.608 MB / 0.9814 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.079, allocations: 0 / 0.9814 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002618/1.082, allocations: 0.9601 MB / 0.9823 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.085, allocations: 464.7 kB / 0.9828 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03726/1.122, allocations: 11.15 MB / 0.9937 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/1.123, allocations: 0.9829 MB / 0.9946 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001054/1.124, allocations: 166.7 kB / 0.9948 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/1.124, allocations: 287.3 kB / 0.9951 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/1.124, allocations: 0 / 0.9951 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07964/1.204, allocations: 31.74 MB / 1.026 GB, free: 232 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.26, allocations: 7.875 kB / 1.026 GB, free: 224 kB / 0.7481 GB " [Timeout remaining time 647] (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: 17.3108723530313] Failed to read output from testmodel.py, exit status != 0: 13.418519229977392 13.446383269 12.505180869 Calling exit ...