Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00174/0.00174, allocations: 101.9 kB / 19.74 MB, free: 2.133 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.001959/0.001959, allocations: 213.9 kB / 23.03 MB, free: 4.953 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002523/0.002523, allocations: 285.3 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.268/1.268, allocations: 180.6 MB / 0.5377 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00282/0.00282, allocations: 96.16 kB / 0.7402 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1822, allocations: 95.38 MB / 0.8334 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6673/0.8495, allocations: 170.3 MB / 0.9997 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006097/0.8556, allocations: 3.778 MB / 1.003 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.8565, allocations: 26.31 kB / 1.003 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.8578, allocations: 462.6 kB / 1.004 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003822/0.8616, allocations: 1.569 MB / 1.005 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.8657, allocations: 1.399 MB / 1.007 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002815/0.8685, allocations: 1.655 MB / 1.008 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.8695, allocations: 0.8479 MB / 1.009 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.8711, allocations: 0.9681 MB / 1.01 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.8724, allocations: 0.9243 MB / 1.011 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.8726, allocations: 99 kB / 1.011 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.875, allocations: 1.114 MB / 1.012 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.8754, allocations: 372 kB / 1.013 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.876, allocations: 456.2 kB / 1.013 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.8782, allocations: 1.639 MB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8782, allocations: 4.375 kB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8782, allocations: 0 / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.8782, allocations: 0 / 1.015 GB, free: 3.172 MB / 0.7169 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.002656/0.8809, allocations: 1.19 MB / 1.016 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8809, allocations: 13.97 kB / 1.016 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.358e-05/0.8809, allocations: 13.72 kB / 1.016 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.881, allocations: 90.5 kB / 1.016 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.8825, allocations: 242.9 kB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.8834, allocations: 0.5587 MB / 1.017 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.8834, allocations: 37.66 kB / 1.017 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.8835, allocations: 51.31 kB / 1.017 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.8849, allocations: 1.052 MB / 1.018 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.8849, allocations: 5.438 kB / 1.018 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.885, allocations: 27.64 kB / 1.018 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.8851, allocations: 28.7 kB / 1.018 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.8865, allocations: 1.006 MB / 1.019 GB, free: 17.93 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004601/0.8911, allocations: 3.719 MB / 1.022 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.8919, allocations: 0.5564 MB / 1.023 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.8925, allocations: 487.2 kB / 1.023 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.8932, allocations: 140.8 kB / 1.024 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.8932, allocations: 37.25 kB / 1.024 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002133/0.8953, allocations: 0.6361 MB / 1.024 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.386e-06/0.8953, allocations: 2.422 kB / 1.024 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01683/0.9122, allocations: 3.672 MB / 1.028 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.9122, allocations: 56.75 kB / 1.028 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/0.9132, allocations: 0.714 MB / 1.029 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.9133, allocations: 36.42 kB / 1.029 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.9135, allocations: 325 kB / 1.029 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.9137, allocations: 184 kB / 1.029 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.9139, allocations: 151.2 kB / 1.029 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9141, allocations: 328.9 kB / 1.03 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.9146, allocations: 400.5 kB / 1.03 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.9153, allocations: 0.5266 MB / 1.03 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.9165, allocations: 0.9151 MB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9165, allocations: 4.5 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01082/0.9273, allocations: 2.552 MB / 1.034 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9274, allocations: 7.219 kB / 1.034 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9274, allocations: 3.891 kB / 1.034 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009256/0.9366, allocations: 1.725 MB / 1.036 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.9372, allocations: 95.16 kB / 1.036 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.9494, allocations: 6.885 MB / 1.042 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.9504, allocations: 18.11 kB / 1.042 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/0.9505, allocations: 49.97 kB / 1.042 GB, free: 11.76 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.0004388/0.9509, allocations: 207.7 kB / 1.043 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.9511, allocations: 83.2 kB / 1.043 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.9559, allocations: 1.725 MB / 1.044 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9559, allocations: 9.781 kB / 1.044 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9559, allocations: 2.812 kB / 1.044 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.956, allocations: 3.047 kB / 1.044 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005379/0.9613, allocations: 2.387 MB / 1.047 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.9613, allocations: 4.938 kB / 1.047 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.9617, allocations: 87.67 kB / 1.047 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003225/0.965, allocations: 0.796 MB / 1.048 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/0.965, allocations: 20.75 kB / 1.048 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006403/0.9714, allocations: 4.611 MB / 1.052 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9714, allocations: 0 / 1.052 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.9771, allocations: 2.143 MB / 1.054 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.9777, allocations: 155.9 kB / 1.054 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.9778, allocations: 16.95 kB / 1.054 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.9784, allocations: 24.95 kB / 1.054 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.9786, allocations: 52 kB / 1.054 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.9786, allocations: 21.62 kB / 1.054 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006643/0.9793, allocations: 0.4973 MB / 1.055 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9793, allocations: 3.188 kB / 1.055 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009901/0.9803, allocations: 290.8 kB / 1.055 GB, free: 6.641 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 (49): * Single equations (assignments): 47 * 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.00559/0.9859, allocations: 2.784 MB / 1.058 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003606/0.9895, allocations: 1.413 MB / 1.059 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9895, allocations: 2.875 kB / 1.059 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.9913, allocations: 0.8634 MB / 1.06 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.9935, allocations: 456.2 kB / 1.061 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/1.025, allocations: 10.44 MB / 1.071 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/1.026, allocations: 391.4 kB / 1.071 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007732/1.027, allocations: 162.1 kB / 1.071 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/1.027, allocations: 282.5 kB / 1.072 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.027, allocations: 1.406 kB / 1.072 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07353/1.101, allocations: 32.55 MB / 1.103 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.34, allocations: 12.31 kB / 1.103 GB, free: 14.98 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.78311140392907] Failed to read output from testmodel.py, exit status != 0: 14.522547706961632 14.552711676 13.668445474 Calling exit ...