Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.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.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",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.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7189/0.7189, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 59.56 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.349, allocations: 80.21 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.2044/0.5534, allocations: 218.5 MB / 0.7936 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.5785, allocations: 20.4 MB / 0.8135 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.5809, allocations: 59.75 kB / 0.8135 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.584, allocations: 1.251 MB / 0.8148 GB, free: 480 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3155/0.8996, allocations: 4.075 MB / 0.8187 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.9031, allocations: 1.518 MB / 0.8202 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007727/0.9108, allocations: 6.962 MB / 0.827 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/0.9138, allocations: 2.367 MB / 0.8293 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.918, allocations: 2.352 MB / 0.8316 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.9217, allocations: 2.461 MB / 0.834 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000465/0.9222, allocations: 342.5 kB / 0.8344 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00635/0.9285, allocations: 3.465 MB / 0.8378 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.9297, allocations: 1.445 MB / 0.8392 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.9317, allocations: 1.868 MB / 0.841 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.9377, allocations: 5.732 MB / 0.8466 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9377, allocations: 0 / 0.8466 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9377, allocations: 1.641 kB / 0.8466 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.933e-05/0.9378, allocations: 3.219 kB / 0.8466 GB, free: 2.074 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.007498/0.9453, allocations: 3.945 MB / 0.8504 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.9453, allocations: 9.25 kB / 0.8505 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004022/0.9457, allocations: 383.6 kB / 0.8508 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.95, allocations: 0.8242 MB / 0.8516 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.9527, allocations: 1.885 MB / 0.8535 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.9528, allocations: 198.5 kB / 0.8537 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.9532, allocations: 272.8 kB / 0.8539 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/0.9576, allocations: 3.286 MB / 0.8571 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.9577, allocations: 6.031 kB / 0.8571 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.9579, allocations: 107.4 kB / 0.8572 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.958, allocations: 127.5 kB / 0.8574 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006045/0.9641, allocations: 4.607 MB / 0.8618 GB, free: 15.69 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.01369/0.9778, allocations: 10.97 MB / 0.8726 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/0.9828, allocations: 4.865 MB / 0.8773 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/0.9856, allocations: 2.518 MB / 0.8798 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/0.9866, allocations: 0.87 MB / 0.8806 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.9867, allocations: 81.92 kB / 0.8807 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=399): time 5.209e-06/0.9867, allocations: 0 / 0.8807 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=399): time 0.009735/0.9964, allocations: 6.021 MB / 0.8866 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.9965, allocations: 93.14 kB / 0.8867 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.9986, allocations: 1.229 MB / 0.8879 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/0.9989, allocations: 92.95 kB / 0.888 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005606/0.9994, allocations: 0.8115 MB / 0.8888 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.001, allocations: 1.332 MB / 0.8901 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009169/1.002, allocations: 0.5463 MB / 0.8906 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.002, allocations: 305.1 kB / 0.8909 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.004, allocations: 1.604 MB / 0.8924 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/1.007, allocations: 1.919 MB / 0.8943 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/1.013, allocations: 3.839 MB / 0.8981 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/1.013, allocations: 0 / 0.8981 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007164/1.02, allocations: 4.186 MB / 0.9022 GB, free: 12.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.02, allocations: 11.94 kB / 0.9022 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.02, allocations: 4 kB / 0.9022 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/1.02, allocations: 17 kB / 0.9022 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/1.023, allocations: 0.681 MB / 0.9029 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-05/1.023, allocations: 23.08 kB / 0.9029 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/1.026, allocations: 240.3 kB / 0.9031 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/1.026, allocations: 112.9 kB / 0.9032 GB, free: 11.39 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.00155/1.028, allocations: 0.7336 MB / 0.9039 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008419/1.028, allocations: 241 kB / 0.9042 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007955/1.036, allocations: 4.617 MB / 0.9087 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.037, allocations: 44.84 kB / 0.9087 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/1.037, allocations: 4 kB / 0.9087 GB, free: 5.754 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006012/1.043, allocations: 3.955 MB / 0.9126 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.056, allocations: 8.252 MB / 0.9206 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.056, allocations: 0 / 0.9206 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.059, allocations: 0.6717 MB / 0.9213 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/1.06, allocations: 134 kB / 0.9214 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/1.06, allocations: 87.91 kB / 0.9215 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/1.064, allocations: 5.086 MB / 0.9265 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.064, allocations: 4.938 kB / 0.9265 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.077, allocations: 7.014 MB / 0.9333 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/1.08, allocations: 0.7595 MB / 0.9341 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/1.08, allocations: 68 kB / 0.9341 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.083, allocations: 96.34 kB / 0.9342 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/1.084, allocations: 223.5 kB / 0.9344 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003047/1.084, allocations: 112.7 kB / 0.9345 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001547/1.085, allocations: 0.8645 MB / 0.9354 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.085, allocations: 0 / 0.9354 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002947/1.088, allocations: 1.069 MB / 0.9364 GB, free: 8.938 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01102/1.099, allocations: 7.821 MB / 0.9441 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02457/1.124, allocations: 11.48 MB / 0.9553 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.124, allocations: 4.25 kB / 0.9553 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/1.129, allocations: 2.556 MB / 0.9578 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006077/1.135, allocations: 1.078 MB / 0.9588 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/1.174, allocations: 24.92 MB / 0.9832 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/1.176, allocations: 1.935 MB / 0.9851 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003884/1.18, allocations: 1.219 MB / 0.9862 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/1.182, allocations: 1.085 MB / 0.9873 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/1.182, allocations: 0 / 0.9873 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/1.3, allocations: 66.25 MB / 1.052 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.893/11.19, allocations: 0 / 1.052 GB, free: 2.402 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)