Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_OneOpenDoor",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.006527/0.006527, allocations: 103.6 kB / 15.74 MB, free: 6.445 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.001637/0.001637, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8497/0.8497, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/0.6091, allocations: 80.21 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.OneOpenDoor): time 0.2239/0.8331, allocations: 166.9 MB / 0.8222 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.8481, allocations: 8.477 MB / 0.8305 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.8507, allocations: 39.81 kB / 0.8305 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.8528, allocations: 0.5667 MB / 0.831 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/0.8576, allocations: 1.539 MB / 0.8325 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.8606, allocations: 0.9982 MB / 0.8335 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005811/0.8664, allocations: 4.097 MB / 0.8375 GB, free: 14.92 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.8686, allocations: 1.327 MB / 0.8388 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.8727, allocations: 1.493 MB / 0.8403 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.8758, allocations: 1.503 MB / 0.8417 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.8764, allocations: 191.9 kB / 0.8419 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.8796, allocations: 1.111 MB / 0.843 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008729/0.8805, allocations: 0.6584 MB / 0.8437 GB, free: 8.613 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.8822, allocations: 1.035 MB / 0.8447 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.8874, allocations: 2.764 MB / 0.8474 GB, free: 4.805 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.8875, allocations: 4 kB / 0.8474 GB, free: 4.801 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8875, allocations: 3.938 kB / 0.8474 GB, free: 4.797 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.151e-05/0.8876, allocations: 0 / 0.8474 GB, free: 4.797 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005703/0.8933, allocations: 2.324 MB / 0.8496 GB, free: 2.414 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.8933, allocations: 8.031 kB / 0.8497 GB, free: 2.406 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003455/0.8937, allocations: 227.9 kB / 0.8499 GB, free: 2.172 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/0.8944, allocations: 207.7 kB / 0.8501 GB, free: 1.969 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.8967, allocations: 1.185 MB / 0.8512 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.8968, allocations: 111 kB / 0.8513 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.8971, allocations: 155.9 kB / 0.8515 GB, free: 492 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/0.9009, allocations: 1.915 MB / 0.8533 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.9009, allocations: 3.984 kB / 0.8534 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.9011, allocations: 64 kB / 0.8534 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.9012, allocations: 36 kB / 0.8534 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/0.9058, allocations: 2.474 MB / 0.8559 GB, free: 11.94 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.01014/0.9159, allocations: 6.129 MB / 0.8618 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/0.9201, allocations: 2.807 MB / 0.8646 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.9224, allocations: 1.425 MB / 0.866 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4841/1.406, allocations: 1.725 MB / 0.8677 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/1.407, allocations: 57.02 kB / 0.8677 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=237): time 4.549e-06/1.407, allocations: 0.75 kB / 0.8677 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=237): time 0.008619/1.415, allocations: 3.44 MB / 0.8711 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.415, allocations: 80.16 kB / 0.8712 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.417, allocations: 0.7712 MB / 0.8719 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/1.417, allocations: 66.86 kB / 0.872 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/1.417, allocations: 0.4926 MB / 0.8725 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000873/1.418, allocations: 0.8271 MB / 0.8733 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/1.419, allocations: 351.3 kB / 0.8736 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/1.419, allocations: 302.5 kB / 0.8739 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.421, allocations: 0.9034 MB / 0.8748 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.423, allocations: 1.124 MB / 0.8759 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/1.427, allocations: 2.225 MB / 0.878 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.427, allocations: 1.375 kB / 0.878 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004123/1.431, allocations: 2.44 MB / 0.8804 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.431, allocations: 6.719 kB / 0.8804 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.431, allocations: 2.719 kB / 0.8804 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.5e-05/1.431, allocations: 13.75 kB / 0.8804 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.433, allocations: 439.4 kB / 0.8809 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/1.433, allocations: 15.72 kB / 0.8809 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.434, allocations: 157.4 kB / 0.881 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.434, allocations: 76.8 kB / 0.8811 GB, free: 188.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0006932/1.435, allocations: 448.6 kB / 0.8815 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/1.435, allocations: 149.1 kB / 0.8817 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/1.439, allocations: 2.73 MB / 0.8843 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.439, allocations: 25.72 kB / 0.8844 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.439, allocations: 1.188 kB / 0.8844 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003163/1.442, allocations: 2.379 MB / 0.8867 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005798/1.448, allocations: 4.296 MB / 0.8909 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.448, allocations: 3.719 kB / 0.8909 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.45, allocations: 405.8 kB / 0.8913 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/1.45, allocations: 98.78 kB / 0.8914 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.45, allocations: 52.48 kB / 0.8914 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006054/1.451, allocations: 1.122 MB / 0.8925 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.451, allocations: 1.375 kB / 0.8925 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/1.457, allocations: 4.069 MB / 0.8965 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/1.458, allocations: 488.5 kB / 0.897 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.459, allocations: 48.47 kB / 0.897 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/1.459, allocations: 54.66 kB / 0.8971 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/1.46, allocations: 134.9 kB / 0.8972 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.46, allocations: 74.91 kB / 0.8973 GB, free: 179 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006191/1.46, allocations: 0.5431 MB / 0.8978 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.46, allocations: 0 / 0.8978 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001422/1.462, allocations: 0.6536 MB / 0.8984 GB, free: 178.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007139/1.469, allocations: 4.909 MB / 0.9032 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003336/1.472, allocations: 2.322 MB / 0.9055 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.472, allocations: 0 / 0.9055 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.474, allocations: 1.279 MB / 0.9067 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.477, allocations: 0.5784 MB / 0.9073 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.493, allocations: 13.68 MB / 0.9207 GB, free: 160.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/1.493, allocations: 1.343 MB / 0.922 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001921/1.495, allocations: 0.7188 MB / 0.9227 GB, free: 158.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/1.496, allocations: 0.6203 MB / 0.9233 GB, free: 157.4 MB / 0.6856 GB Notification: Performance of SimCode: time 2.144e-06/1.496, allocations: 0 / 0.9233 GB, free: 157.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07119/1.567, allocations: 39.8 MB / 0.9621 GB, free: 118.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.25, allocations: 5.859 kB / 0.9621 GB, free: 118.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor_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_OneOpenDoor.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)