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.001315/0.001315, allocations: 108 kB / 15.6 MB, free: 132 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.001371/0.001371, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003789/0.003789, allocations: 278.8 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5073 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 100.2 kB / 0.6065 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1465, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4483/0.5948, allocations: 166.9 MB / 0.8566 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.6078, allocations: 8.497 MB / 0.8649 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.6093, allocations: 39.72 kB / 0.8649 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.6109, allocations: 0.5634 MB / 0.8655 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.6151, allocations: 1.537 MB / 0.867 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.6176, allocations: 0.9961 MB / 0.8679 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004265/0.6219, allocations: 4.102 MB / 0.8719 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.6235, allocations: 1.317 MB / 0.8732 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.6261, allocations: 1.498 MB / 0.8747 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.628, allocations: 1.508 MB / 0.8762 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.6282, allocations: 190.2 kB / 0.8764 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.6305, allocations: 1.102 MB / 0.8774 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006914/0.6312, allocations: 0.6701 MB / 0.8781 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.6324, allocations: 1.038 MB / 0.8791 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.6355, allocations: 2.734 MB / 0.8818 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6355, allocations: 0 / 0.8818 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6355, allocations: 0 / 0.8818 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.6356, allocations: 4 kB / 0.8818 GB, free: 10.66 MB / 0.6075 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.004524/0.6401, allocations: 2.263 MB / 0.884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6401, allocations: 8.031 kB / 0.884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.6404, allocations: 223.9 kB / 0.8842 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.6409, allocations: 199.5 kB / 0.8844 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.6428, allocations: 1.138 MB / 0.8855 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/0.6429, allocations: 111 kB / 0.8856 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.6432, allocations: 148 kB / 0.8858 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/0.6463, allocations: 1.927 MB / 0.8876 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.6464, allocations: 0 / 0.8876 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.6465, allocations: 60 kB / 0.8877 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.6466, allocations: 37.06 kB / 0.8877 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/0.6508, allocations: 2.486 MB / 0.8902 GB, free: 1.918 MB / 0.6075 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.008632/0.6594, allocations: 6.143 MB / 0.8962 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.6634, allocations: 2.796 MB / 0.8989 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.6657, allocations: 1.417 MB / 0.9003 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.6675, allocations: 1.734 MB / 0.902 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.6676, allocations: 56.56 kB / 0.902 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=237): time 4.288e-06/0.6676, allocations: 0 / 0.902 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of matching and sorting (n=237): time 0.006205/0.6738, allocations: 3.442 MB / 0.9054 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.6739, allocations: 81.34 kB / 0.9055 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.6751, allocations: 0.7783 MB / 0.9062 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6752, allocations: 61.7 kB / 0.9063 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.6756, allocations: 494.1 kB / 0.9067 GB, free: 92 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007389/0.6763, allocations: 0.7968 MB / 0.9075 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.6769, allocations: 347.6 kB / 0.9079 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.677, allocations: 305.1 kB / 0.9081 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.6786, allocations: 0.8941 MB / 0.909 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.6804, allocations: 1.132 MB / 0.9101 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.684, allocations: 2.223 MB / 0.9123 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.684, allocations: 0 / 0.9123 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004318/0.6883, allocations: 2.438 MB / 0.9147 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.6884, allocations: 5.719 kB / 0.9147 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6884, allocations: 7.938 kB / 0.9147 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.6884, allocations: 12 kB / 0.9147 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.6902, allocations: 435.4 kB / 0.9151 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.6902, allocations: 15.98 kB / 0.9151 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6913, allocations: 154.5 kB / 0.9153 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.6915, allocations: 83.92 kB / 0.9154 GB, free: 7.125 MB / 0.6387 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.0007557/0.6923, allocations: 438 kB / 0.9158 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.6926, allocations: 138.3 kB / 0.9159 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.6974, allocations: 2.731 MB / 0.9186 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.6975, allocations: 24 kB / 0.9186 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6975, allocations: 0 / 0.9186 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/0.7012, allocations: 2.381 MB / 0.9209 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/0.7079, allocations: 4.306 MB / 0.9251 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7079, allocations: 2.188 kB / 0.9251 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.7097, allocations: 415.5 kB / 0.9255 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.7102, allocations: 97.61 kB / 0.9256 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.7104, allocations: 51.98 kB / 0.9257 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008233/0.7112, allocations: 1.116 MB / 0.9268 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7112, allocations: 4 kB / 0.9268 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/0.7178, allocations: 4.061 MB / 0.9307 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007826/0.7186, allocations: 478.6 kB / 0.9312 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.7188, allocations: 40 kB / 0.9312 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/0.7197, allocations: 55.98 kB / 0.9313 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.72, allocations: 137.8 kB / 0.9314 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.7201, allocations: 67.98 kB / 0.9315 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007684/0.7209, allocations: 0.5536 MB / 0.932 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7209, allocations: 0 / 0.932 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001406/0.7223, allocations: 0.6474 MB / 0.9326 GB, free: 5.16 MB / 0.6544 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.007377/0.7297, allocations: 4.891 MB / 0.9374 GB, free: 240 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009578/0.7393, allocations: 4.86 MB / 0.9422 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7393, allocations: 0 / 0.9422 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.7414, allocations: 1.284 MB / 0.9434 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.7441, allocations: 0.5889 MB / 0.944 GB, free: 9.531 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.7654, allocations: 14.24 MB / 0.9579 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.7666, allocations: 1.339 MB / 0.9592 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00215/0.7688, allocations: 0.7228 MB / 0.9599 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.7698, allocations: 0.6242 MB / 0.9605 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of SimCode: time 2.475e-06/0.7698, allocations: 3.938 kB / 0.9605 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0812/0.8511, allocations: 39.44 MB / 0.999 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.43, allocations: 11.12 kB / 0.9991 GB, free: 1.086 MB / 0.7169 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)