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.00168/0.00168, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002183/0.002183, allocations: 215.4 kB / 22.24 MB, free: 5.262 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.785 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.002547/0.002547, allocations: 301.3 kB / 312.7 MB, free: 2.59 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.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.003016/0.003016, allocations: 107.6 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1662, allocations: 95.39 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.561/0.7272, allocations: 170.4 MB / 0.9991 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006025/0.7332, allocations: 3.777 MB / 1.003 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/0.7341, allocations: 29.59 kB / 1.003 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.7352, allocations: 460.2 kB / 1.003 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.7388, allocations: 1.564 MB / 1.005 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.7424, allocations: 1.407 MB / 1.006 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.7447, allocations: 1.646 MB / 1.008 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/0.7457, allocations: 0.841 MB / 1.009 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.7471, allocations: 0.9679 MB / 1.009 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.7482, allocations: 0.8517 MB / 1.01 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.7483, allocations: 99.09 kB / 1.01 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.7505, allocations: 1.099 MB / 1.011 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.7508, allocations: 374.8 kB / 1.012 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.7513, allocations: 458.3 kB / 1.012 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.7532, allocations: 1.635 MB / 1.014 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7532, allocations: 4.406 kB / 1.014 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7532, allocations: 1 kB / 1.014 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.7532, allocations: 0 / 1.014 GB, free: 3.219 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.0025/0.7557, allocations: 1.191 MB / 1.015 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7557, allocations: 10.66 kB / 1.015 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.7559, allocations: 94.86 kB / 1.015 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.7573, allocations: 242.4 kB / 1.015 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/0.7582, allocations: 0.5598 MB / 1.016 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.7583, allocations: 38.47 kB / 1.016 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.7584, allocations: 48.11 kB / 1.016 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.7597, allocations: 1.055 MB / 1.017 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.7598, allocations: 5.75 kB / 1.017 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.7598, allocations: 19.91 kB / 1.017 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.7599, allocations: 28.28 kB / 1.017 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.7614, allocations: 1.002 MB / 1.018 GB, free: 17.97 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.004718/0.7661, allocations: 3.731 MB / 1.022 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.7669, allocations: 0.5625 MB / 1.022 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.7675, allocations: 483.4 kB / 1.023 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.7682, allocations: 134.2 kB / 1.023 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.7682, allocations: 42.98 kB / 1.023 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002109/0.7703, allocations: 0.6321 MB / 1.024 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.915e-06/0.7703, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01638/0.7867, allocations: 3.678 MB / 1.027 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.7868, allocations: 57.06 kB / 1.027 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.7876, allocations: 0.712 MB / 1.028 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.7877, allocations: 35.7 kB / 1.028 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.7879, allocations: 323.7 kB / 1.028 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.7881, allocations: 185.6 kB / 1.028 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.7883, allocations: 151 kB / 1.029 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7884, allocations: 328.5 kB / 1.029 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.789, allocations: 396.6 kB / 1.029 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.7897, allocations: 0.5313 MB / 1.03 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.791, allocations: 0.9134 MB / 1.031 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.791, allocations: 0 / 1.031 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01067/0.8016, allocations: 2.557 MB / 1.033 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.8017, allocations: 7.344 kB / 1.033 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.8017, allocations: 2.688 kB / 1.033 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009023/0.8107, allocations: 1.724 MB / 1.035 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.8112, allocations: 95.77 kB / 1.035 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.8232, allocations: 6.882 MB / 1.042 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009705/0.8241, allocations: 17.75 kB / 1.042 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.8242, allocations: 45.38 kB / 1.042 GB, free: 11.8 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.000413/0.8247, allocations: 213.5 kB / 1.042 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8248, allocations: 85.5 kB / 1.042 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.8297, allocations: 1.722 MB / 1.044 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.8297, allocations: 11.7 kB / 1.044 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8297, allocations: 7.25 kB / 1.044 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8297, allocations: 1.5 kB / 1.044 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/0.8353, allocations: 2.386 MB / 1.046 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8353, allocations: 0 / 1.046 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.8357, allocations: 84.67 kB / 1.046 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.8389, allocations: 0.8101 MB / 1.047 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.839, allocations: 18.14 kB / 1.047 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006397/0.8454, allocations: 4.592 MB / 1.051 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8454, allocations: 12.16 kB / 1.051 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.8507, allocations: 2.148 MB / 1.053 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.8512, allocations: 164 kB / 1.054 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.8514, allocations: 14.59 kB / 1.054 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.8519, allocations: 20.64 kB / 1.054 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.8521, allocations: 58.97 kB / 1.054 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.8522, allocations: 22.02 kB / 1.054 GB, free: 7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006069/0.8528, allocations: 0.4994 MB / 1.054 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8528, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009073/0.8537, allocations: 284.8 kB / 1.055 GB, free: 6.676 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.005778/0.8594, allocations: 2.783 MB / 1.057 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.8629, allocations: 1.413 MB / 1.059 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8629, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.8647, allocations: 0.8634 MB / 1.059 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.8667, allocations: 466.3 kB / 1.06 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/0.8966, allocations: 10.44 MB / 1.07 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.8971, allocations: 392.3 kB / 1.07 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007148/0.8978, allocations: 160.5 kB / 1.071 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.8982, allocations: 280.5 kB / 1.071 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/0.8982, allocations: 0 / 1.071 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07232/0.9705, allocations: 32.91 MB / 1.103 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.21, allocations: 7.359 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 & /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.316593705210835] Failed to read output from testmodel.py, exit status != 0: 13.341486006975174 13.370625279 12.611836058 Calling exit ...