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.001323/0.001323, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001468/0.001468, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001495/0.001495, allocations: 242.3 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.7803/0.7803, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 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: Performance of FrontEnd - loaded program: time 4.168e-06/4.168e-06, allocations: 0 / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.329e-05/4.746e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5889/0.589, allocations: 170.3 MB / 0.8125 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007517/0.5965, allocations: 3.783 MB / 0.8162 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.5977, allocations: 27.75 kB / 0.8163 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.5993, allocations: 468.8 kB / 0.8167 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.6033, allocations: 1.605 MB / 0.8183 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.6071, allocations: 1.446 MB / 0.8197 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002482/0.6096, allocations: 1.678 MB / 0.8213 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6108, allocations: 0.8451 MB / 0.8222 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.613, allocations: 1.208 MB / 0.8233 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.6141, allocations: 0.787 MB / 0.8241 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.6144, allocations: 100 kB / 0.8242 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.6165, allocations: 1.125 MB / 0.8253 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.617, allocations: 386.8 kB / 0.8257 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.6174, allocations: 399.1 kB / 0.826 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.6197, allocations: 1.761 MB / 0.8278 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6197, allocations: 0 / 0.8278 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6197, allocations: 0 / 0.8278 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.6197, allocations: 4 kB / 0.8278 GB, free: 1.152 MB / 0.6511 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.002178/0.6219, allocations: 1.181 MB / 0.8289 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.622, allocations: 14.59 kB / 0.8289 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.6221, allocations: 90.52 kB / 0.829 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.623, allocations: 239.2 kB / 0.8293 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.6239, allocations: 0.5577 MB / 0.8298 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.6239, allocations: 37 kB / 0.8298 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.624, allocations: 48 kB / 0.8299 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.6254, allocations: 1.05 MB / 0.8309 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.6254, allocations: 8.594 kB / 0.8309 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.6255, allocations: 24 kB / 0.8309 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/0.6256, allocations: 27.98 kB / 0.831 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6267, allocations: 1.003 MB / 0.8319 GB, free: 12.73 MB / 0.6667 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.003844/0.6305, allocations: 3.716 MB / 0.8356 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.6313, allocations: 0.5561 MB / 0.8361 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.6319, allocations: 493.8 kB / 0.8366 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/0.6323, allocations: 140.4 kB / 0.8367 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6323, allocations: 39.06 kB / 0.8368 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00138/0.6337, allocations: 0.6361 MB / 0.8374 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 2.485e-06/0.6337, allocations: 0 / 0.8374 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.00907/0.6428, allocations: 3.666 MB / 0.841 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.6428, allocations: 59.84 kB / 0.841 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.6435, allocations: 0.7271 MB / 0.8417 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.6435, allocations: 29.7 kB / 0.8417 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.6438, allocations: 320.9 kB / 0.8421 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.6439, allocations: 194.3 kB / 0.8422 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.6441, allocations: 146 kB / 0.8424 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6442, allocations: 322 kB / 0.8427 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.6447, allocations: 392.8 kB / 0.8431 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.6452, allocations: 0.5238 MB / 0.8436 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.6465, allocations: 0.9231 MB / 0.8445 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6465, allocations: 0 / 0.8445 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005956/0.6525, allocations: 2.558 MB / 0.847 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.6525, allocations: 11.94 kB / 0.847 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6525, allocations: 4.125 kB / 0.847 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004732/0.6573, allocations: 1.727 MB / 0.8487 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.6575, allocations: 91.88 kB / 0.8488 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008058/0.6656, allocations: 6.875 MB / 0.8555 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.6661, allocations: 20.05 kB / 0.8555 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.6661, allocations: 51.94 kB / 0.8555 GB, free: 4.039 MB / 0.6823 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.0003315/0.6665, allocations: 210.3 kB / 0.8557 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.6666, allocations: 83.48 kB / 0.8558 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.6696, allocations: 1.72 MB / 0.8575 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6696, allocations: 8 kB / 0.8575 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6696, allocations: 3.938 kB / 0.8575 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6696, allocations: 7.984 kB / 0.8575 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.6732, allocations: 2.386 MB / 0.8599 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.6732, allocations: 7.984 kB / 0.8599 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.6734, allocations: 92.95 kB / 0.86 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.675, allocations: 0.793 MB / 0.8607 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.6751, allocations: 12 kB / 0.8607 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.6803, allocations: 4.602 MB / 0.8652 GB, free: 9.797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6803, allocations: 7.984 kB / 0.8652 GB, free: 9.789 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.6835, allocations: 2.138 MB / 0.8673 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.6838, allocations: 162.2 kB / 0.8675 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.6839, allocations: 12 kB / 0.8675 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.6842, allocations: 19.98 kB / 0.8675 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.6845, allocations: 60.33 kB / 0.8676 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.6845, allocations: 31.92 kB / 0.8676 GB, free: 7.336 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007081/0.6852, allocations: 0.4951 MB / 0.8681 GB, free: 6.844 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6852, allocations: 3.938 kB / 0.8681 GB, free: 6.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009739/0.6862, allocations: 291.8 kB / 0.8684 GB, free: 6.555 MB / 0.698 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.004232/0.6904, allocations: 2.781 MB / 0.8711 GB, free: 3.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.693, allocations: 1.399 MB / 0.8724 GB, free: 2.289 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.693, allocations: 0 / 0.8724 GB, free: 2.289 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6942, allocations: 0.8557 MB / 0.8733 GB, free: 1.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.6956, allocations: 469.1 kB / 0.8737 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/0.7153, allocations: 10.36 MB / 0.8838 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.7156, allocations: 393.2 kB / 0.8842 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005863/0.7162, allocations: 158.6 kB / 0.8844 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.7165, allocations: 284.4 kB / 0.8846 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of SimCode: time 2.755e-06/0.7165, allocations: 0 / 0.8846 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0563/0.7728, allocations: 32.93 MB / 0.9168 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.615/9.388, allocations: 14.97 kB / 0.9168 GB, free: 5.281 MB / 0.7448 GB " [Timeout remaining time 651] (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: 12.5613870061934] Failed to read output from testmodel.py, exit status != 0: 9.492962288670242 9.504380918 8.881797228 Calling exit ...