Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 100.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 189.6 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6611/0.6611, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2731, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.405/0.6781, allocations: 192.6 MB / 0.7554 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.6839, allocations: 4.027 MB / 0.7593 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.6846, allocations: 22.78 kB / 0.7593 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.6856, allocations: 474.8 kB / 0.7598 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.6887, allocations: 1.527 MB / 0.7613 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.6916, allocations: 1.349 MB / 0.7626 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.6934, allocations: 1.632 MB / 0.7642 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.6945, allocations: 0.9522 MB / 0.7651 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.6957, allocations: 0.9175 MB / 0.766 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008562/0.6965, allocations: 0.8525 MB / 0.7668 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.6967, allocations: 96.91 kB / 0.7669 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.6988, allocations: 1.309 MB / 0.7682 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.6991, allocations: 355.1 kB / 0.7685 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.6996, allocations: 0.5133 MB / 0.769 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.7012, allocations: 1.613 MB / 0.7706 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7012, allocations: 4.406 kB / 0.7706 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7012, allocations: 0.9062 kB / 0.7706 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.7012, allocations: 0 / 0.7706 GB, free: 1.5 MB / 0.5762 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.002635/0.7039, allocations: 1.449 MB / 0.772 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.7039, allocations: 13.62 kB / 0.772 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.7041, allocations: 92.27 kB / 0.7721 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.7055, allocations: 238.8 kB / 0.7724 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.7062, allocations: 0.5854 MB / 0.7729 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.7062, allocations: 35.34 kB / 0.773 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.7064, allocations: 54.28 kB / 0.773 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.7076, allocations: 0.9684 MB / 0.774 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7077, allocations: 3.594 kB / 0.774 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.7078, allocations: 19.97 kB / 0.774 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.7078, allocations: 36.91 kB / 0.774 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.7092, allocations: 0.933 MB / 0.7749 GB, free: 16.21 MB / 0.5919 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.004359/0.7136, allocations: 4.269 MB / 0.7791 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.7143, allocations: 0.5974 MB / 0.7797 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.7149, allocations: 0.5161 MB / 0.7802 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000924/0.7159, allocations: 0.8757 MB / 0.781 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.7159, allocations: 46.72 kB / 0.7811 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001256/0.7172, allocations: 411.9 kB / 0.7815 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.184e-06/0.7172, allocations: 0.9688 kB / 0.7815 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01632/0.7335, allocations: 3.841 MB / 0.7852 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.7336, allocations: 57.75 kB / 0.7853 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.7342, allocations: 0.7124 MB / 0.786 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.7343, allocations: 38.02 kB / 0.786 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.7345, allocations: 321.7 kB / 0.7863 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.7346, allocations: 173.6 kB / 0.7865 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.7348, allocations: 150.7 kB / 0.7866 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.735, allocations: 324.9 kB / 0.7869 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.7355, allocations: 399.4 kB / 0.7873 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.7361, allocations: 485.1 kB / 0.7878 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.7374, allocations: 0.9273 MB / 0.7887 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7374, allocations: 0 / 0.7887 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01071/0.7481, allocations: 2.558 MB / 0.7912 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.7481, allocations: 5.312 kB / 0.7912 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7482, allocations: 4.812 kB / 0.7912 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009192/0.7574, allocations: 1.734 MB / 0.7929 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.7578, allocations: 92.73 kB / 0.793 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.7691, allocations: 7.157 MB / 0.8 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.77, allocations: 19.25 kB / 0.8 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/0.7701, allocations: 48.83 kB / 0.8 GB, free: 8.477 MB / 0.5919 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.0003288/0.7704, allocations: 209.8 kB / 0.8002 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.7706, allocations: 87.47 kB / 0.8003 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.7753, allocations: 1.735 MB / 0.802 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7753, allocations: 6.938 kB / 0.802 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7753, allocations: 6.359 kB / 0.802 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7753, allocations: 2.766 kB / 0.802 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.7807, allocations: 2.551 MB / 0.8045 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.7807, allocations: 2.094 kB / 0.8045 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.7811, allocations: 89.2 kB / 0.8046 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.7845, allocations: 0.7976 MB / 0.8054 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.7845, allocations: 18.41 kB / 0.8054 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.7908, allocations: 4.854 MB / 0.8101 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7908, allocations: 6.688 kB / 0.8102 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.7956, allocations: 2.148 MB / 0.8122 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.796, allocations: 229.3 kB / 0.8125 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7961, allocations: 12.56 kB / 0.8125 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.7967, allocations: 24.28 kB / 0.8125 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7968, allocations: 62.67 kB / 0.8126 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.7969, allocations: 25.16 kB / 0.8126 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005445/0.7974, allocations: 0.5024 MB / 0.8131 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7974, allocations: 0 / 0.8131 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008249/0.7982, allocations: 283.5 kB / 0.8133 GB, free: 2.797 MB / 0.5919 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.005297/0.8035, allocations: 2.804 MB / 0.8161 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00325/0.8068, allocations: 1.516 MB / 0.8176 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8068, allocations: 0 / 0.8176 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.8085, allocations: 0.9167 MB / 0.8185 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.8103, allocations: 467.6 kB / 0.8189 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02848/0.8388, allocations: 10.7 MB / 0.8294 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.8393, allocations: 0.975 MB / 0.8303 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006196/0.84, allocations: 158.6 kB / 0.8305 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.8404, allocations: 283.3 kB / 0.8307 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.8404, allocations: 0 / 0.8307 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7658/1.606, allocations: 29.42 MB / 0.8595 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.88, allocations: 15.91 kB / 0.8595 GB, free: 9.594 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)