Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_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.005412/0.005412, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001319/0.00132, allocations: 187 kB / 16.67 MB, free: 5.922 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 283 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 178.5 MB / 0.5074 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 99.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4064, allocations: 89.12 MB / 0.7813 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.1975/0.604, allocations: 166.9 MB / 0.9443 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.6177, allocations: 8.502 MB / 0.9526 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.6193, allocations: 43.81 kB / 0.9527 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.6213, allocations: 0.5589 MB / 0.9532 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.6261, allocations: 1.539 MB / 0.9547 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.629, allocations: 1.004 MB / 0.9557 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005452/0.6345, allocations: 4.094 MB / 0.9597 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.6366, allocations: 1.315 MB / 0.961 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.6403, allocations: 1.493 MB / 0.9624 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.6429, allocations: 1.515 MB / 0.9639 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005376/0.6435, allocations: 187.9 kB / 0.9641 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.6462, allocations: 1.1 MB / 0.9652 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008784/0.6471, allocations: 0.67 MB / 0.9658 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.649, allocations: 1.031 MB / 0.9668 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.6531, allocations: 2.774 MB / 0.9695 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6532, allocations: 0 / 0.9695 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6532, allocations: 0 / 0.9695 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.833e-05/0.6532, allocations: 0 / 0.9695 GB, free: 7.285 MB / 0.7325 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.004812/0.658, allocations: 2.318 MB / 0.9718 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6581, allocations: 8.031 kB / 0.9718 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/0.6584, allocations: 227.9 kB / 0.972 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005781/0.659, allocations: 211.7 kB / 0.9722 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.6613, allocations: 1.184 MB / 0.9734 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.6614, allocations: 115 kB / 0.9735 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.6616, allocations: 144 kB / 0.9736 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.6649, allocations: 1.927 MB / 0.9755 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.6649, allocations: 7.953 kB / 0.9755 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.6651, allocations: 60 kB / 0.9756 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.6651, allocations: 36 kB / 0.9756 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.6691, allocations: 2.478 MB / 0.978 GB, free: 14.43 MB / 0.7481 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.008692/0.6778, allocations: 6.125 MB / 0.984 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.6816, allocations: 2.803 MB / 0.9867 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.6837, allocations: 1.421 MB / 0.9881 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.6855, allocations: 1.73 MB / 0.9898 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.6856, allocations: 56.56 kB / 0.9899 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=237): time 4.068e-06/0.6856, allocations: 0 / 0.9899 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of matching and sorting (n=237): time 0.3828/1.068, allocations: 3.439 MB / 0.9932 GB, free: 200.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/1.069, allocations: 75.91 kB / 0.9933 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.07, allocations: 0.7781 MB / 0.9941 GB, free: 200.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/1.07, allocations: 61.7 kB / 0.9941 GB, free: 200.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/1.07, allocations: 0.4945 MB / 0.9946 GB, free: 200 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006484/1.071, allocations: 0.8303 MB / 0.9954 GB, free: 199.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005402/1.072, allocations: 355.1 kB / 0.9958 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.072, allocations: 302.5 kB / 0.9961 GB, free: 199 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/1.073, allocations: 0.9002 MB / 0.9969 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/1.075, allocations: 1.121 MB / 0.998 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/1.079, allocations: 2.225 MB / 1 GB, free: 197.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.079, allocations: 1.344 kB / 1 GB, free: 197.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004935/1.084, allocations: 2.447 MB / 1.003 GB, free: 196.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.084, allocations: 10.72 kB / 1.003 GB, free: 196.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.084, allocations: 3.312 kB / 1.003 GB, free: 196.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/1.084, allocations: 13.44 kB / 1.003 GB, free: 196.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.086, allocations: 437.9 kB / 1.003 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/1.086, allocations: 12.5 kB / 1.003 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.087, allocations: 157.4 kB / 1.003 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/1.087, allocations: 73.25 kB / 1.003 GB, free: 196.2 MB / 0.7481 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.0006741/1.088, allocations: 452.5 kB / 1.004 GB, free: 195.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/1.088, allocations: 149.2 kB / 1.004 GB, free: 195.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/1.092, allocations: 2.721 MB / 1.006 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.092, allocations: 22.88 kB / 1.007 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.092, allocations: 8.188 kB / 1.007 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00328/1.096, allocations: 2.382 MB / 1.009 GB, free: 193.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/1.102, allocations: 4.301 MB / 1.013 GB, free: 191.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.102, allocations: 5.094 kB / 1.013 GB, free: 191.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.103, allocations: 406.4 kB / 1.013 GB, free: 191.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/1.104, allocations: 100.2 kB / 1.014 GB, free: 191.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.104, allocations: 52.48 kB / 1.014 GB, free: 191 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005025/1.105, allocations: 1.114 MB / 1.015 GB, free: 189.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.105, allocations: 2.438 kB / 1.015 GB, free: 189.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/1.111, allocations: 4.075 MB / 1.019 GB, free: 187.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000969/1.112, allocations: 487.4 kB / 1.019 GB, free: 187.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/1.112, allocations: 43.84 kB / 1.019 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/1.113, allocations: 49.98 kB / 1.019 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/1.113, allocations: 145 kB / 1.019 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.113, allocations: 67.61 kB / 1.019 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006656/1.114, allocations: 0.5506 MB / 1.02 GB, free: 187 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.114, allocations: 2.406 kB / 1.02 GB, free: 187 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001587/1.116, allocations: 0.6521 MB / 1.021 GB, free: 186.8 MB / 0.7481 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.005837/1.121, allocations: 4.898 MB / 1.025 GB, free: 184.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003073/1.125, allocations: 2.324 MB / 1.028 GB, free: 182 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.125, allocations: 3.938 kB / 1.028 GB, free: 182 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.126, allocations: 1.281 MB / 1.029 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.129, allocations: 0.5688 MB / 1.029 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.144, allocations: 13.69 MB / 1.043 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/1.144, allocations: 1.338 MB / 1.044 GB, free: 164.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00165/1.146, allocations: 0.7189 MB / 1.045 GB, free: 164.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/1.147, allocations: 0.632 MB / 1.045 GB, free: 163.6 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/1.147, allocations: 0 / 1.045 GB, free: 163.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06829/1.215, allocations: 39.84 MB / 1.084 GB, free: 124.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.41, allocations: 4.062 kB / 1.084 GB, free: 124.3 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)