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.001243/0.001243, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001762/0.001762, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 302.7 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9328/0.9328, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 96.09 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 86.98 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.4393/0.568, allocations: 215.4 MB / 0.8901 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.5956, allocations: 26.3 MB / 0.9157 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.5973, allocations: 31.81 kB / 0.9158 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.5996, allocations: 1.035 MB / 0.9168 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.6065, allocations: 2.961 MB / 0.9197 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.61, allocations: 1.529 MB / 0.9212 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004145/0.6141, allocations: 3.857 MB / 0.9249 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.6157, allocations: 1.388 MB / 0.9263 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.6194, allocations: 2.269 MB / 0.9285 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.621, allocations: 1.565 MB / 0.93 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.6212, allocations: 124 kB / 0.9302 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.6243, allocations: 1.866 MB / 0.932 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000644/0.625, allocations: 0.8567 MB / 0.9328 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.6259, allocations: 1.185 MB / 0.934 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.6291, allocations: 3.138 MB / 0.937 GB, free: 172 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6291, allocations: 0 / 0.937 GB, free: 172 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6291, allocations: 0 / 0.937 GB, free: 172 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.6292, allocations: 0 / 0.937 GB, free: 172 kB / 0.6387 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.003689/0.6329, allocations: 2.862 MB / 0.9398 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6329, allocations: 8.031 kB / 0.9398 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.6331, allocations: 202.6 kB / 0.94 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.6348, allocations: 448.2 kB / 0.9405 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.6376, allocations: 2.726 MB / 0.9431 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.6376, allocations: 106.4 kB / 0.9432 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.6378, allocations: 124 kB / 0.9433 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.6399, allocations: 1.595 MB / 0.9449 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.64, allocations: 15.84 kB / 0.9449 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.6401, allocations: 55.98 kB / 0.945 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.6402, allocations: 93.89 kB / 0.9451 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.6417, allocations: 1.057 MB / 0.9461 GB, free: 6.602 MB / 0.6544 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.006606/0.6483, allocations: 8.435 MB / 0.9543 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009312/0.6493, allocations: 0.7272 MB / 0.955 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.6497, allocations: 300.1 kB / 0.9553 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.6502, allocations: 0.6169 MB / 0.9559 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6503, allocations: 46.5 kB / 0.956 GB, free: 11.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 2.474e-06/0.6503, allocations: 4 kB / 0.956 GB, free: 11.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001521/0.6518, allocations: 0.9711 MB / 0.9569 GB, free: 10.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.6519, allocations: 170.2 kB / 0.9571 GB, free: 10.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/0.6565, allocations: 4.69 MB / 0.9617 GB, free: 5.898 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.6566, allocations: 41.7 kB / 0.9617 GB, free: 5.852 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/0.6573, allocations: 1.059 MB / 0.9627 GB, free: 4.785 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6575, allocations: 181.4 kB / 0.9629 GB, free: 4.605 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6576, allocations: 98.17 kB / 0.963 GB, free: 4.504 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.6577, allocations: 322 kB / 0.9633 GB, free: 4.184 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.6581, allocations: 221 kB / 0.9635 GB, free: 3.965 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.6585, allocations: 318.9 kB / 0.9638 GB, free: 3.625 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.6593, allocations: 0.5571 MB / 0.9644 GB, free: 3.035 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6593, allocations: 0.6875 kB / 0.9644 GB, free: 3.035 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001105/0.6604, allocations: 0.8029 MB / 0.9652 GB, free: 2.223 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6604, allocations: 8 kB / 0.9652 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6604, allocations: 1.25 kB / 0.9652 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6604, allocations: 7.938 kB / 0.9652 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.6608, allocations: 107.8 kB / 0.9653 GB, free: 2.102 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6609, allocations: 8.25 kB / 0.9653 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.6618, allocations: 158.7 kB / 0.9654 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.6618, allocations: 23.98 kB / 0.9655 GB, free: 1.914 MB / 0.67 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.000625/0.6625, allocations: 0.5424 MB / 0.966 GB, free: 1.363 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.6628, allocations: 229.2 kB / 0.9662 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.664, allocations: 0.8022 MB / 0.967 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.664, allocations: 8 kB / 0.967 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.664, allocations: 0 / 0.967 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.664, allocations: 11.92 kB / 0.967 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.6666, allocations: 2.092 MB / 0.969 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6666, allocations: 192 / 0.969 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.667, allocations: 103.8 kB / 0.9691 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.6671, allocations: 4 kB / 0.9692 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.6671, allocations: 12 kB / 0.9692 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.6671, allocations: 8 kB / 0.9692 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6671, allocations: 3.938 kB / 0.9692 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.6687, allocations: 1.286 MB / 0.9704 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.6692, allocations: 414 kB / 0.9708 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.6695, allocations: 12 kB / 0.9708 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.6703, allocations: 87.86 kB / 0.9709 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.6704, allocations: 36.33 kB / 0.971 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.6704, allocations: 23.98 kB / 0.971 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003366/0.6738, allocations: 3.506 MB / 0.9744 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6738, allocations: 0 / 0.9744 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001006/0.6748, allocations: 475.1 kB / 0.9749 GB, free: 8.133 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.002887/0.6777, allocations: 2.248 MB / 0.977 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.6787, allocations: 0.6039 MB / 0.9776 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6787, allocations: 0 / 0.9776 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.6792, allocations: 291.2 kB / 0.9779 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/0.6824, allocations: 0.8783 MB / 0.9788 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/0.7083, allocations: 21.93 MB / 1 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.7095, allocations: 1.635 MB / 1.002 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001341/0.7108, allocations: 470.1 kB / 1.002 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009752/0.7118, allocations: 0.9406 MB / 1.003 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/0.7118, allocations: 4 kB / 1.003 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07212/0.7839, allocations: 48.48 MB / 1.051 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.7841, allocations: 249 kB / 1.051 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.532, allocations: 3.938 kB / 1.051 GB, free: 9.844 MB / 0.7637 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)