Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="IDEAS_IDEAS_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.004625/0.004625, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001174/0.001174, allocations: 190 kB / 16.67 MB, free: 5.48 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7439/0.7439, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 62.59 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 80.19 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Validation.OneWayFlow): time 0.4585/0.579, allocations: 218.2 MB / 0.8722 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0269/0.6059, allocations: 26.48 MB / 0.8981 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.6071, allocations: 31.88 kB / 0.8981 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.6094, allocations: 1.181 MB / 0.8993 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.6152, allocations: 3.247 MB / 0.9025 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.6186, allocations: 1.67 MB / 0.9041 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003328/0.6219, allocations: 3.857 MB / 0.9079 GB, free: 7.363 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.6234, allocations: 1.451 MB / 0.9093 GB, free: 5.879 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.6265, allocations: 2.327 MB / 0.9116 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.6279, allocations: 1.475 MB / 0.913 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.6281, allocations: 128 kB / 0.9131 GB, free: 1.938 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.6309, allocations: 1.828 MB / 0.9149 GB, free: 108 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.6315, allocations: 0.849 MB / 0.9157 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009715/0.6325, allocations: 1.181 MB / 0.9169 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.6354, allocations: 3.052 MB / 0.9199 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6354, allocations: 3.938 kB / 0.9199 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6354, allocations: 0 / 0.9199 GB, free: 11 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.6354, allocations: 0 / 0.9199 GB, free: 11 MB / 0.6856 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.003736/0.6392, allocations: 2.956 MB / 0.9228 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6392, allocations: 8.031 kB / 0.9228 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.6394, allocations: 198.6 kB / 0.9229 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.641, allocations: 461.8 kB / 0.9234 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.644, allocations: 2.778 MB / 0.9261 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.6441, allocations: 98.47 kB / 0.9262 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6442, allocations: 128 kB / 0.9263 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.6463, allocations: 1.591 MB / 0.9279 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.6463, allocations: 11.89 kB / 0.9279 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.804e-05/0.6464, allocations: 55.94 kB / 0.9279 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/0.6465, allocations: 93.89 kB / 0.928 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.6481, allocations: 1.058 MB / 0.9291 GB, free: 1.293 MB / 0.6856 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.006709/0.6548, allocations: 8.473 MB / 0.9373 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.6557, allocations: 0.7282 MB / 0.938 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.6562, allocations: 304.1 kB / 0.9383 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/0.6567, allocations: 0.6129 MB / 0.9389 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6567, allocations: 38.56 kB / 0.939 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.6567, allocations: 0 / 0.939 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=50): time 0.001484/0.6582, allocations: 0.9819 MB / 0.9399 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.6583, allocations: 166.2 kB / 0.9401 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004645/0.6629, allocations: 4.694 MB / 0.9447 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.663, allocations: 37.7 kB / 0.9447 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007933/0.6638, allocations: 1.071 MB / 0.9458 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.6639, allocations: 186.3 kB / 0.9459 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.664, allocations: 98.19 kB / 0.946 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.6641, allocations: 326 kB / 0.9463 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.6645, allocations: 217 kB / 0.9465 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.6649, allocations: 314.9 kB / 0.9468 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007543/0.6657, allocations: 0.5677 MB / 0.9474 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6657, allocations: 0 / 0.9474 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001103/0.6668, allocations: 0.8123 MB / 0.9482 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6668, allocations: 11.88 kB / 0.9482 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6668, allocations: 4 kB / 0.9482 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6669, allocations: 4 kB / 0.9482 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.6672, allocations: 111.8 kB / 0.9483 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6673, allocations: 4 kB / 0.9483 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.6679, allocations: 103.2 kB / 0.9484 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.668, allocations: 23.94 kB / 0.9484 GB, free: 12.59 MB / 0.7169 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.0005975/0.6686, allocations: 0.5443 MB / 0.949 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.6689, allocations: 242.4 kB / 0.9492 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.67, allocations: 0.8018 MB / 0.95 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6701, allocations: 8 kB / 0.95 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6701, allocations: 0 / 0.95 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.6701, allocations: 7.984 kB / 0.95 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.6727, allocations: 2.092 MB / 0.952 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6727, allocations: 0 / 0.952 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.6731, allocations: 103.8 kB / 0.9521 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6731, allocations: 4 kB / 0.9521 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.6732, allocations: 16.19 kB / 0.9522 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.6732, allocations: 4 kB / 0.9522 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6732, allocations: 0 / 0.9522 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.6748, allocations: 1.291 MB / 0.9534 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.6754, allocations: 423.3 kB / 0.9538 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.6757, allocations: 12 kB / 0.9538 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.6763, allocations: 19.98 kB / 0.9539 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.6764, allocations: 44.33 kB / 0.9539 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.6765, allocations: 16 kB / 0.9539 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00338/0.6798, allocations: 3.51 MB / 0.9573 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6798, allocations: 0 / 0.9573 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009102/0.6808, allocations: 487.1 kB / 0.9578 GB, free: 2.84 MB / 0.7169 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.002822/0.6836, allocations: 2.267 MB / 0.96 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008271/0.6844, allocations: 0.5372 MB / 0.9606 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6844, allocations: 0 / 0.9606 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.6849, allocations: 295.1 kB / 0.9608 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/0.6881, allocations: 0.8573 MB / 0.9617 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/0.7092, allocations: 19.41 MB / 0.9806 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.7103, allocations: 1.632 MB / 0.9822 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001014/0.7113, allocations: 470.1 kB / 0.9827 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.7123, allocations: 0.9367 MB / 0.9836 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7123, allocations: 0 / 0.9836 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07433/0.7867, allocations: 46.66 MB / 1.029 GB, free: 10.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.21, allocations: 8 kB / 1.029 GB, free: 10.01 MB / 0.795 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)