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.001717/0.001717, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00212/0.00212, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.801 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.002525/0.002525, allocations: 290.5 kB / 312.7 MB, free: 2.609 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.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",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.002897/0.002897, allocations: 102.6 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1518, allocations: 95.39 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5821/0.7339, allocations: 170.4 MB / 0.9991 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005854/0.7398, allocations: 3.786 MB / 1.003 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007349/0.7405, allocations: 27.19 kB / 1.003 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.7416, allocations: 455.2 kB / 1.003 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.7451, allocations: 1.569 MB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.7485, allocations: 1.401 MB / 1.006 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.7511, allocations: 1.649 MB / 1.008 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.7521, allocations: 0.8428 MB / 1.009 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.7536, allocations: 0.9731 MB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.7548, allocations: 0.8506 MB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.7549, allocations: 101.3 kB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.7571, allocations: 1.1 MB / 1.012 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.7574, allocations: 368.5 kB / 1.012 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.7579, allocations: 459.3 kB / 1.012 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.76, allocations: 1.638 MB / 1.014 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.76, allocations: 0 / 1.014 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.76, allocations: 1.203 kB / 1.014 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.76, allocations: 0.8125 kB / 1.014 GB, free: 3.16 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.002476/0.7625, allocations: 1.193 MB / 1.015 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7625, allocations: 10.09 kB / 1.015 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.7626, allocations: 93.94 kB / 1.015 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.764, allocations: 240.1 kB / 1.015 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/0.7649, allocations: 0.5596 MB / 1.016 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.765, allocations: 39.66 kB / 1.016 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7651, allocations: 47.84 kB / 1.016 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.7664, allocations: 1.056 MB / 1.017 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.7664, allocations: 5.312 kB / 1.017 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.7665, allocations: 19.81 kB / 1.017 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.7665, allocations: 28.52 kB / 1.017 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.768, allocations: 1.004 MB / 1.018 GB, free: 17.91 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.004643/0.7726, allocations: 3.723 MB / 1.022 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.7734, allocations: 0.5635 MB / 1.022 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.7741, allocations: 483.1 kB / 1.023 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.7747, allocations: 135.1 kB / 1.023 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7748, allocations: 43.47 kB / 1.023 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002065/0.7768, allocations: 0.633 MB / 1.024 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.595e-06/0.7768, allocations: 0.9062 kB / 1.024 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01639/0.7932, allocations: 3.676 MB / 1.027 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.7933, allocations: 57.69 kB / 1.027 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.794, allocations: 0.7156 MB / 1.028 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.7941, allocations: 32.52 kB / 1.028 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.7943, allocations: 322.9 kB / 1.028 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.7945, allocations: 185.9 kB / 1.028 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.7947, allocations: 149.9 kB / 1.029 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7948, allocations: 326 kB / 1.029 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.7954, allocations: 399.3 kB / 1.029 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.796, allocations: 0.5282 MB / 1.03 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.7972, allocations: 0.9225 MB / 1.031 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7972, allocations: 3.625 kB / 1.031 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01047/0.8077, allocations: 2.556 MB / 1.033 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8077, allocations: 5.156 kB / 1.033 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8077, allocations: 4.5 kB / 1.033 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0089/0.8166, allocations: 1.719 MB / 1.035 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.8171, allocations: 99.5 kB / 1.035 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.8287, allocations: 6.88 MB / 1.042 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.8296, allocations: 18.78 kB / 1.042 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.8297, allocations: 46.55 kB / 1.042 GB, free: 11.74 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.0003893/0.8301, allocations: 212.3 kB / 1.042 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.8302, allocations: 85.86 kB / 1.042 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.8349, allocations: 1.726 MB / 1.044 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8349, allocations: 5.75 kB / 1.044 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8349, allocations: 8.875 kB / 1.044 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.8349, allocations: 3 kB / 1.044 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.8403, allocations: 2.381 MB / 1.046 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8403, allocations: 3.5 kB / 1.046 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.8407, allocations: 88.88 kB / 1.046 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/0.8438, allocations: 0.803 MB / 1.047 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.8439, allocations: 20.84 kB / 1.047 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006435/0.8503, allocations: 4.595 MB / 1.051 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8503, allocations: 5.781 kB / 1.051 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/0.8556, allocations: 2.143 MB / 1.053 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.8561, allocations: 164.7 kB / 1.054 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.8563, allocations: 17.33 kB / 1.054 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.8569, allocations: 27.16 kB / 1.054 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.857, allocations: 49.09 kB / 1.054 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.8571, allocations: 23.56 kB / 1.054 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006355/0.8577, allocations: 0.4971 MB / 1.054 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8577, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009181/0.8586, allocations: 290.7 kB / 1.055 GB, free: 6.668 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.005769/0.8644, allocations: 2.78 MB / 1.057 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003482/0.8679, allocations: 1.414 MB / 1.059 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8679, allocations: 0 / 1.059 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.8697, allocations: 0.8605 MB / 1.059 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.8718, allocations: 466.3 kB / 1.06 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/0.9023, allocations: 10.43 MB / 1.07 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.9028, allocations: 394.6 kB / 1.07 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006688/0.9035, allocations: 160.5 kB / 1.071 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.9039, allocations: 285 kB / 1.071 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.9039, allocations: 0 / 1.071 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07847/0.9824, allocations: 32.9 MB / 1.103 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.34, allocations: 3.75 kB / 1.103 GB, free: 14.69 MB / 0.7794 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.61406518612057] Failed to read output from testmodel.py, exit status != 0: 13.466329487040639 13.494993109 12.729835015 Calling exit ...