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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001385/0.001385, allocations: 193.2 kB / 16.14 MB, free: 6.707 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.217/1.217, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 282.9 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 19.35/19.35, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 90.22 kB / 0.5946 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1843, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.6593/0.8436, allocations: 164.6 MB / 0.8402 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.8599, allocations: 8.561 MB / 0.8486 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.863, allocations: 32.78 kB / 0.8486 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.8651, allocations: 490.9 kB / 0.8491 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.8708, allocations: 1.451 MB / 0.8505 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.8739, allocations: 0.888 MB / 0.8514 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006798/0.8807, allocations: 5.405 MB / 0.8567 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.8824, allocations: 1.107 MB / 0.8578 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.8852, allocations: 1.279 MB / 0.859 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.8875, allocations: 1.541 MB / 0.8605 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.8878, allocations: 101 kB / 0.8606 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.8906, allocations: 1.053 MB / 0.8616 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000603/0.8912, allocations: 0.5917 MB / 0.8622 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.8925, allocations: 0.936 MB / 0.8631 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.8962, allocations: 2.673 MB / 0.8657 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.8963, allocations: 0 / 0.8657 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8963, allocations: 3.938 kB / 0.8657 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.8963, allocations: 2.781 kB / 0.8657 GB, free: 2.547 MB / 0.5762 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.004462/0.9008, allocations: 2.265 MB / 0.868 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.9008, allocations: 7.531 kB / 0.868 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.9011, allocations: 225.8 kB / 0.8682 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005033/0.9016, allocations: 196.6 kB / 0.8684 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.9035, allocations: 1.185 MB / 0.8695 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.9036, allocations: 114.3 kB / 0.8696 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.9038, allocations: 154.2 kB / 0.8698 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.9066, allocations: 1.925 MB / 0.8717 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.9067, allocations: 0 / 0.8717 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.9068, allocations: 62.94 kB / 0.8717 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.9069, allocations: 35.22 kB / 0.8717 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.9103, allocations: 2.476 MB / 0.8742 GB, free: 13.45 MB / 0.5919 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.007343/0.9176, allocations: 6.087 MB / 0.8801 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/0.921, allocations: 2.809 MB / 0.8829 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.9229, allocations: 1.421 MB / 0.8842 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.9244, allocations: 1.733 MB / 0.8859 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.9244, allocations: 60.55 kB / 0.886 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 7.614e-06/0.9244, allocations: 0 / 0.886 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005179/0.9296, allocations: 3.438 MB / 0.8893 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.9297, allocations: 77.41 kB / 0.8894 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009125/0.9306, allocations: 0.7627 MB / 0.8902 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.9307, allocations: 65.7 kB / 0.8902 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.931, allocations: 486.1 kB / 0.8907 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005704/0.9316, allocations: 0.7896 MB / 0.8915 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/0.9321, allocations: 355.5 kB / 0.8918 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.9322, allocations: 305.1 kB / 0.8921 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.9335, allocations: 0.9019 MB / 0.893 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.9351, allocations: 1.125 MB / 0.8941 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.9381, allocations: 2.219 MB / 0.8962 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9382, allocations: 3.938 kB / 0.8962 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003662/0.9418, allocations: 2.436 MB / 0.8986 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9419, allocations: 4 kB / 0.8986 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.9419, allocations: 7.938 kB / 0.8986 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.9419, allocations: 12.47 kB / 0.8986 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.9434, allocations: 439.4 kB / 0.8991 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.9435, allocations: 15.98 kB / 0.8991 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.9446, allocations: 198.3 kB / 0.8993 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.9448, allocations: 83.98 kB / 0.8994 GB, free: 4.707 MB / 0.6075 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.0006505/0.9454, allocations: 437.2 kB / 0.8998 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.9457, allocations: 138.3 kB / 0.8999 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.9498, allocations: 2.731 MB / 0.9026 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.9499, allocations: 24 kB / 0.9026 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.9499, allocations: 3.938 kB / 0.9026 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003149/0.953, allocations: 2.377 MB / 0.9049 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/0.959, allocations: 4.296 MB / 0.9091 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.959, allocations: 0 / 0.9091 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.9605, allocations: 407.4 kB / 0.9095 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.961, allocations: 105.7 kB / 0.9096 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.9611, allocations: 50.92 kB / 0.9096 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006768/0.9618, allocations: 1.124 MB / 0.9107 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9618, allocations: 0 / 0.9107 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/0.9673, allocations: 4.061 MB / 0.9147 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/0.9682, allocations: 478.6 kB / 0.9152 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.9684, allocations: 39.98 kB / 0.9152 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/0.9692, allocations: 111.8 kB / 0.9153 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.9695, allocations: 137.8 kB / 0.9154 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.9696, allocations: 67.98 kB / 0.9155 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006143/0.9702, allocations: 0.5381 MB / 0.916 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9702, allocations: 0 / 0.916 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001294/0.9715, allocations: 0.6398 MB / 0.9167 GB, free: 2.77 MB / 0.6231 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.006187/0.9777, allocations: 4.891 MB / 0.9214 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.981, allocations: 2.313 MB / 0.9237 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.981, allocations: 0 / 0.9237 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.9827, allocations: 1.276 MB / 0.9249 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.9849, allocations: 0.5497 MB / 0.9255 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.003, allocations: 14.87 MB / 0.94 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/1.004, allocations: 1.347 MB / 0.9413 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001889/1.006, allocations: 0.7189 MB / 0.942 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/1.007, allocations: 0.6203 MB / 0.9426 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/1.007, allocations: 8 kB / 0.9426 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.587/3.594, allocations: 37.78 MB / 0.9795 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/3.594, allocations: 234.9 kB / 0.9797 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/6.797, allocations: 3.938 kB / 0.9798 GB, free: 2.105 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)