Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",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.0007855/0.0007855, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004977/0.004977, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 262.9 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9161/0.9161, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12.94 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.4584/0.5928, allocations: 212.9 MB / 0.8932 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.6198, allocations: 26.36 MB / 0.9189 GB, free: 232 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009538/0.6208, allocations: 27.81 kB / 0.9189 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.6229, allocations: 1.015 MB / 0.9199 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.6287, allocations: 2.952 MB / 0.9228 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.6319, allocations: 1.509 MB / 0.9243 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005075/0.637, allocations: 5.834 MB / 0.93 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.6384, allocations: 1.202 MB / 0.9312 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.6417, allocations: 2.05 MB / 0.9332 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.6433, allocations: 1.522 MB / 0.9346 GB, free: 52 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.6435, allocations: 72.05 kB / 0.9347 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.6468, allocations: 2.139 MB / 0.9368 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006205/0.6474, allocations: 0.7981 MB / 0.9376 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009266/0.6483, allocations: 1.136 MB / 0.9387 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.6511, allocations: 3.055 MB / 0.9417 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6512, allocations: 0 / 0.9417 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6512, allocations: 0 / 0.9417 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.6512, allocations: 0 / 0.9417 GB, free: 8.824 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003303/0.6545, allocations: 2.466 MB / 0.9441 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6545, allocations: 8.031 kB / 0.9441 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.6547, allocations: 202.6 kB / 0.9443 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.6563, allocations: 448.3 kB / 0.9447 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.6591, allocations: 2.726 MB / 0.9474 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.6592, allocations: 94.53 kB / 0.9475 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.6593, allocations: 131.9 kB / 0.9476 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.6614, allocations: 1.6 MB / 0.9492 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.6615, allocations: 7.938 kB / 0.9492 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/0.6616, allocations: 55.98 kB / 0.9492 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.631e-05/0.6617, allocations: 101.9 kB / 0.9493 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.6632, allocations: 1.065 MB / 0.9504 GB, free: 15.65 MB / 0.67 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.00674/0.67, allocations: 8.448 MB / 0.9586 GB, free: 6.695 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.6709, allocations: 0.735 MB / 0.9593 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.6714, allocations: 312.1 kB / 0.9596 GB, free: 5.594 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.6718, allocations: 0.6091 MB / 0.9602 GB, free: 4.855 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6719, allocations: 46.48 kB / 0.9603 GB, free: 4.801 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 2.094e-06/0.6719, allocations: 0 / 0.9603 GB, free: 4.801 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001538/0.6734, allocations: 0.991 MB / 0.9612 GB, free: 3.801 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.6735, allocations: 166.2 kB / 0.9614 GB, free: 3.602 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00479/0.6783, allocations: 4.686 MB / 0.966 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.6784, allocations: 41.77 kB / 0.966 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008031/0.6792, allocations: 1.07 MB / 0.967 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.6793, allocations: 177.4 kB / 0.9672 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.6794, allocations: 49.69 kB / 0.9673 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.6795, allocations: 322 kB / 0.9676 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.6798, allocations: 225 kB / 0.9678 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.6803, allocations: 326.9 kB / 0.9681 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.681, allocations: 0.5727 MB / 0.9687 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.681, allocations: 0 / 0.9687 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001105/0.6822, allocations: 0.8069 MB / 0.9694 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6822, allocations: 10.19 kB / 0.9695 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.6822, allocations: 4 kB / 0.9695 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6822, allocations: 7.938 kB / 0.9695 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.6826, allocations: 107.8 kB / 0.9696 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6826, allocations: 4 kB / 0.9696 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.6835, allocations: 155 kB / 0.9697 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.6836, allocations: 23.98 kB / 0.9697 GB, free: 10.93 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006136/0.6842, allocations: 0.5456 MB / 0.9703 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.6845, allocations: 233.1 kB / 0.9705 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.6857, allocations: 0.8195 MB / 0.9713 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.6857, allocations: 8 kB / 0.9713 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6857, allocations: 3.938 kB / 0.9713 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6857, allocations: 7.984 kB / 0.9713 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.6883, allocations: 2.088 MB / 0.9734 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6884, allocations: 0 / 0.9734 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.6888, allocations: 107.8 kB / 0.9735 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6888, allocations: 4 kB / 0.9735 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.6888, allocations: 12 kB / 0.9735 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6888, allocations: 4 kB / 0.9735 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6888, allocations: 7.984 kB / 0.9735 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.6904, allocations: 1.29 MB / 0.9747 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/0.691, allocations: 425.9 kB / 0.9751 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.6912, allocations: 12 kB / 0.9752 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/0.692, allocations: 83.92 kB / 0.9752 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.6921, allocations: 36.33 kB / 0.9753 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.6921, allocations: 20 kB / 0.9753 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003477/0.6956, allocations: 3.51 MB / 0.9787 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6956, allocations: 0 / 0.9787 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009782/0.6966, allocations: 479 kB / 0.9792 GB, free: 1.109 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002891/0.6995, allocations: 2.277 MB / 0.9814 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.7003, allocations: 0.5453 MB / 0.9819 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7003, allocations: 0 / 0.9819 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.7008, allocations: 298.2 kB / 0.9822 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/0.7048, allocations: 0.8251 MB / 0.983 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/0.731, allocations: 22.08 MB / 1.005 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.7322, allocations: 1.632 MB / 1.006 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001372/0.7336, allocations: 466.1 kB / 1.007 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009924/0.7346, allocations: 0.9444 MB / 1.008 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/0.7346, allocations: 0 / 1.008 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/1.046, allocations: 46.5 MB / 1.053 GB, free: 275 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/1.046, allocations: 262.7 kB / 1.053 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.702, allocations: 0 / 1.053 GB, free: 274.8 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)