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.001232/0.001232, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.001283/0.001283, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.331/1.331, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 300.1 kB / 309.1 MB, free: 4.055 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002688/0.002688, allocations: 109.1 kB / 0.7342 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1508, allocations: 95.35 MB / 0.8273 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5709/0.7217, allocations: 196.2 MB / 1.019 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005064/0.7267, allocations: 4.028 MB / 1.023 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007741/0.7275, allocations: 29.38 kB / 1.023 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.7286, allocations: 498.7 kB / 1.023 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.7315, allocations: 1.593 MB / 1.025 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.7344, allocations: 1.369 MB / 1.026 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.7372, allocations: 1.637 MB / 1.028 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.7383, allocations: 0.8617 MB / 1.029 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.7398, allocations: 0.9617 MB / 1.03 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.7408, allocations: 0.9241 MB / 1.031 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.741, allocations: 100.1 kB / 1.031 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.7433, allocations: 1.391 MB / 1.032 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.7436, allocations: 369.8 kB / 1.032 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.744, allocations: 0.5195 MB / 1.033 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.746, allocations: 1.669 MB / 1.035 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.746, allocations: 0.9375 kB / 1.035 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.746, allocations: 0 / 1.035 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.746, allocations: 0 / 1.035 GB, free: 2.305 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.002511/0.7485, allocations: 1.255 MB / 1.036 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7486, allocations: 11.06 kB / 1.036 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.7487, allocations: 97.16 kB / 1.036 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.7501, allocations: 253.3 kB / 1.036 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.7509, allocations: 0.6206 MB / 1.037 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.7509, allocations: 34.62 kB / 1.037 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.751, allocations: 55.42 kB / 1.037 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.7523, allocations: 0.9978 MB / 1.038 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.7523, allocations: 5.406 kB / 1.038 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.7524, allocations: 21 kB / 1.038 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.7524, allocations: 28.31 kB / 1.038 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.7537, allocations: 1.007 MB / 1.039 GB, free: 16.95 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.004554/0.7583, allocations: 4.152 MB / 1.043 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.7591, allocations: 0.5643 MB / 1.043 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.7598, allocations: 484 kB / 1.044 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.7608, allocations: 0.8825 MB / 1.045 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7608, allocations: 45.19 kB / 1.045 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002084/0.7629, allocations: 0.6291 MB / 1.045 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.737e-06/0.7629, allocations: 0.6875 kB / 1.045 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01658/0.7795, allocations: 3.826 MB / 1.049 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.7796, allocations: 59.78 kB / 1.049 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.7804, allocations: 0.709 MB / 1.05 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.7805, allocations: 37.48 kB / 1.05 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.7807, allocations: 329 kB / 1.05 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.7809, allocations: 181 kB / 1.05 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.7811, allocations: 152.4 kB / 1.051 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7812, allocations: 324.6 kB / 1.051 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.7818, allocations: 396.6 kB / 1.051 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.7825, allocations: 489.7 kB / 1.052 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.7838, allocations: 0.9185 MB / 1.053 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7838, allocations: 3.188 kB / 1.053 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0109/0.7947, allocations: 2.557 MB / 1.055 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7947, allocations: 6.938 kB / 1.055 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.7947, allocations: 3.344 kB / 1.055 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009314/0.804, allocations: 1.725 MB / 1.057 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.8045, allocations: 93.73 kB / 1.057 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.817, allocations: 7.153 MB / 1.064 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.8179, allocations: 16.53 kB / 1.064 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.818, allocations: 47.7 kB / 1.064 GB, free: 5.008 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.0003836/0.8184, allocations: 209.1 kB / 1.064 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.8186, allocations: 87.34 kB / 1.064 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/0.8235, allocations: 1.723 MB / 1.066 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.8235, allocations: 15.89 kB / 1.066 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8235, allocations: 2.219 kB / 1.066 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.8235, allocations: 0 / 1.066 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.8292, allocations: 2.531 MB / 1.068 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8292, allocations: 0 / 1.068 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.8296, allocations: 90.14 kB / 1.068 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/0.833, allocations: 0.8063 MB / 1.069 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.8331, allocations: 14.59 kB / 1.069 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.8398, allocations: 4.846 MB / 1.074 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8398, allocations: 3.594 kB / 1.074 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.845, allocations: 2.144 MB / 1.076 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.8455, allocations: 240.6 kB / 1.076 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.8456, allocations: 13 kB / 1.076 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.8462, allocations: 22.2 kB / 1.076 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.8464, allocations: 58.73 kB / 1.076 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.8464, allocations: 19 kB / 1.076 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006342/0.8471, allocations: 0.4977 MB / 1.077 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.8471, allocations: 4 kB / 1.077 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009328/0.848, allocations: 286 kB / 1.077 GB, free: 11.95 MB / 0.7481 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.005809/0.8538, allocations: 2.79 MB / 1.08 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003529/0.8573, allocations: 1.41 MB / 1.081 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.8573, allocations: 0 / 1.081 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.8592, allocations: 0.8554 MB / 1.082 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.8614, allocations: 471 kB / 1.083 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/0.892, allocations: 10.44 MB / 1.093 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.8926, allocations: 0.9828 MB / 1.094 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006768/0.8933, allocations: 154.6 kB / 1.094 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.8937, allocations: 283.3 kB / 1.094 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of SimCode: time 7.22e-07/0.8937, allocations: 0 / 1.094 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/0.9634, allocations: 29.82 MB / 1.123 GB, free: 13.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.64, allocations: 0 / 1.123 GB, free: 13.05 MB / 0.795 GB " [Timeout remaining time 648] (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: 15.509837594814599] Failed to read output from testmodel.py, exit status != 0: 11.737030706834048 11.750613335 11.001841697 Calling exit ...