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.001373/0.001373, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.001426/0.001426, allocations: 212 kB / 20.13 MB, free: 2.949 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002505/0.002505, allocations: 287.2 kB / 309.8 MB, free: 3.469 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.107/1.107, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 178] 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.002932/0.002932, allocations: 101.7 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5986/0.6015, allocations: 95.35 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.3559/0.9574, allocations: 196.2 MB / 1.019 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.9708, allocations: 4.024 MB / 1.023 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.9727, allocations: 31.75 kB / 1.023 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.9754, allocations: 497 kB / 1.024 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008676/0.9841, allocations: 1.599 MB / 1.025 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007387/0.9915, allocations: 1.36 MB / 1.027 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.9963, allocations: 1.639 MB / 1.028 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.9987, allocations: 0.869 MB / 1.029 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/1.002, allocations: 0.958 MB / 1.03 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/1.005, allocations: 0.9228 MB / 1.031 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005243/1.006, allocations: 104 kB / 1.031 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005654/1.012, allocations: 1.391 MB / 1.032 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/1.013, allocations: 370.8 kB / 1.033 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/1.014, allocations: 0.5134 MB / 1.033 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005943/1.02, allocations: 1.67 MB / 1.035 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.02, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.534e-06/1.02, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.307e-05/1.02, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.7637 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.005846/1.026, allocations: 1.264 MB / 1.036 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/1.026, allocations: 12.03 kB / 1.036 GB, free: 3.895 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.104e-05/1.026, allocations: 16.94 kB / 1.036 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003103/1.026, allocations: 90.52 kB / 1.036 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/1.03, allocations: 255.2 kB / 1.037 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/1.032, allocations: 0.6116 MB / 1.037 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/1.032, allocations: 48.98 kB / 1.037 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/1.032, allocations: 48 kB / 1.037 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/1.035, allocations: 0.996 MB / 1.038 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/1.035, allocations: 3.938 kB / 1.038 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.036, allocations: 24 kB / 1.038 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/1.036, allocations: 31.92 kB / 1.038 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003322/1.039, allocations: 1.003 MB / 1.039 GB, free: 0.6523 MB / 0.7637 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.01069/1.05, allocations: 4.149 MB / 1.043 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/1.052, allocations: 0.5587 MB / 1.044 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/1.053, allocations: 488.5 kB / 1.044 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/1.055, allocations: 0.8822 MB / 1.045 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/1.055, allocations: 43 kB / 1.045 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005021/1.06, allocations: 0.6322 MB / 1.046 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=50): time 6.131e-06/1.06, allocations: 0 / 1.046 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50): time 0.03544/1.096, allocations: 3.834 MB / 1.05 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/1.096, allocations: 55.84 kB / 1.05 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/1.098, allocations: 0.7116 MB / 1.05 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/1.098, allocations: 37.7 kB / 1.05 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/1.099, allocations: 320.9 kB / 1.051 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/1.099, allocations: 182.4 kB / 1.051 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006338/1.1, allocations: 154.1 kB / 1.051 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002396/1.1, allocations: 326 kB / 1.051 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.101, allocations: 404.9 kB / 1.052 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/1.103, allocations: 481.5 kB / 1.052 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/1.106, allocations: 0.922 MB / 1.053 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.106, allocations: 0 / 1.053 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.02251/1.129, allocations: 2.556 MB / 1.056 GB, free: 15.43 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/1.129, allocations: 4 kB / 1.056 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/1.129, allocations: 7.938 kB / 1.056 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01888/1.147, allocations: 1.742 MB / 1.057 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/1.148, allocations: 87.88 kB / 1.057 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/1.174, allocations: 7.144 MB / 1.064 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.175, allocations: 24.05 kB / 1.064 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/1.176, allocations: 43.94 kB / 1.064 GB, free: 6.07 MB / 0.795 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.0008118/1.177, allocations: 205.7 kB / 1.065 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/1.177, allocations: 91.38 kB / 1.065 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.187, allocations: 1.722 MB / 1.066 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.187, allocations: 8 kB / 1.066 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.187, allocations: 8 kB / 1.066 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/1.187, allocations: 3.984 kB / 1.066 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.198, allocations: 2.516 MB / 1.069 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.198, allocations: 8.188 kB / 1.069 GB, free: 1.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/1.199, allocations: 91.88 kB / 1.069 GB, free: 1.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005609/1.205, allocations: 0.7899 MB / 1.07 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/1.205, allocations: 16 kB / 1.07 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.218, allocations: 4.86 MB / 1.074 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.218, allocations: 7.938 kB / 1.074 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.228, allocations: 2.136 MB / 1.077 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008347/1.229, allocations: 248.3 kB / 1.077 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.229, allocations: 12 kB / 1.077 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.23, allocations: 23.97 kB / 1.077 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.23, allocations: 52.44 kB / 1.077 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.871e-05/1.23, allocations: 20 kB / 1.077 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001144/1.231, allocations: 0.499 MB / 1.077 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/1.231, allocations: 0 / 1.077 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001574/1.233, allocations: 283.8 kB / 1.078 GB, free: 8.035 MB / 0.8106 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.01065/1.244, allocations: 2.786 MB / 1.08 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006262/1.25, allocations: 1.406 MB / 1.082 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.25, allocations: 0 / 1.082 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003338/1.253, allocations: 0.864 MB / 1.083 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/1.257, allocations: 461.2 kB / 1.083 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/1.293, allocations: 10.43 MB / 1.093 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/1.293, allocations: 0.9828 MB / 1.094 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007281/1.294, allocations: 162.6 kB / 1.094 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/1.295, allocations: 283.3 kB / 1.095 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/1.295, allocations: 0 / 1.095 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/1.362, allocations: 29.85 MB / 1.124 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.34, allocations: 16 kB / 1.124 GB, free: 8.91 MB / 0.8575 GB " [Timeout remaining time 647] (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: 17.68031271203654] Failed to read output from testmodel.py, exit status != 0: 13.497545293997973 13.511746868 12.488174683 Calling exit ...