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.006519/0.006519, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001296/0.001296, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003289/0.003289, allocations: 282.9 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9749/0.9749, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 112.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5927/0.7655, allocations: 166.9 MB / 0.9289 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.7779, allocations: 8.49 MB / 0.9372 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.7797, allocations: 39.81 kB / 0.9372 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.7814, allocations: 0.5667 MB / 0.9378 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.7862, allocations: 1.539 MB / 0.9393 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.7891, allocations: 0.9928 MB / 0.9402 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005445/0.7945, allocations: 4.107 MB / 0.9443 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.7964, allocations: 1.315 MB / 0.9455 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.7999, allocations: 1.519 MB / 0.947 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.8023, allocations: 1.503 MB / 0.9485 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.8026, allocations: 188 kB / 0.9487 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.8051, allocations: 1.104 MB / 0.9497 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006837/0.8058, allocations: 0.67 MB / 0.9504 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.8072, allocations: 1.042 MB / 0.9514 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.8108, allocations: 2.764 MB / 0.9541 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8109, allocations: 0 / 0.9541 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8109, allocations: 0 / 0.9541 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.326e-05/0.8109, allocations: 0 / 0.9541 GB, free: 2.332 MB / 0.7012 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.004303/0.8152, allocations: 2.262 MB / 0.9563 GB, free: 12 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8153, allocations: 8.031 kB / 0.9563 GB, free: 4 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002694/0.8155, allocations: 224.6 kB / 0.9565 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.816, allocations: 198.7 kB / 0.9567 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.8179, allocations: 1.178 MB / 0.9579 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.818, allocations: 115 kB / 0.958 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.8182, allocations: 147.9 kB / 0.9581 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.821, allocations: 1.923 MB / 0.96 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.8211, allocations: 5.875 kB / 0.96 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.8212, allocations: 67.98 kB / 0.9601 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.8212, allocations: 36 kB / 0.9601 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.8249, allocations: 2.478 MB / 0.9625 GB, free: 9.543 MB / 0.7169 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.00804/0.8329, allocations: 6.108 MB / 0.9685 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.8363, allocations: 2.811 MB / 0.9713 GB, free: 244 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.8383, allocations: 1.425 MB / 0.9726 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.84, allocations: 1.734 MB / 0.9743 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.84, allocations: 56.56 kB / 0.9744 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=237): time 3.587e-06/0.84, allocations: 3.938 kB / 0.9744 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=237): time 0.00544/0.8455, allocations: 3.434 MB / 0.9777 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.8456, allocations: 77.41 kB / 0.9778 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.8466, allocations: 0.7705 MB / 0.9786 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.8467, allocations: 69.7 kB / 0.9786 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.8471, allocations: 490.2 kB / 0.9791 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007707/0.8479, allocations: 0.7969 MB / 0.9799 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.8484, allocations: 343.6 kB / 0.9802 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8485, allocations: 309.1 kB / 0.9805 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.8499, allocations: 0.9019 MB / 0.9814 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.8515, allocations: 1.121 MB / 0.9825 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00356/0.8551, allocations: 2.227 MB / 0.9847 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.8551, allocations: 4 kB / 0.9847 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004324/0.8594, allocations: 2.433 MB / 0.987 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.8595, allocations: 15.94 kB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.8595, allocations: 4 kB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.8596, allocations: 12 kB / 0.9871 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.8613, allocations: 435.4 kB / 0.9875 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.803e-05/0.8613, allocations: 15.94 kB / 0.9875 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.8625, allocations: 154.3 kB / 0.9876 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.8627, allocations: 73.67 kB / 0.9877 GB, free: 14.78 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.0008513/0.8635, allocations: 445.2 kB / 0.9881 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/0.8641, allocations: 150.2 kB / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.8691, allocations: 2.722 MB / 0.9909 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.8691, allocations: 20 kB / 0.991 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.8691, allocations: 0 / 0.991 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003477/0.8726, allocations: 2.381 MB / 0.9933 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/0.8796, allocations: 4.31 MB / 0.9975 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8796, allocations: 3.984 kB / 0.9975 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.8812, allocations: 407.6 kB / 0.9979 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/0.8818, allocations: 101.5 kB / 0.998 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.882, allocations: 51.98 kB / 0.998 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007238/0.8827, allocations: 1.116 MB / 0.9991 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8828, allocations: 0 / 0.9991 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/0.8889, allocations: 4.059 MB / 1.003 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/0.8898, allocations: 478.5 kB / 1.004 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.8902, allocations: 44 kB / 1.004 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/0.8911, allocations: 55.98 kB / 1.004 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.8914, allocations: 137.8 kB / 1.004 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.8915, allocations: 67.98 kB / 1.004 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000833/0.8924, allocations: 0.5459 MB / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8924, allocations: 0 / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001678/0.8941, allocations: 0.6436 MB / 1.005 GB, free: 12.82 MB / 0.7637 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.007025/0.9011, allocations: 4.908 MB / 1.01 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.9048, allocations: 2.321 MB / 1.012 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.9049, allocations: 4 kB / 1.012 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.9068, allocations: 1.28 MB / 1.013 GB, free: 4.277 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.9096, allocations: 0.5782 MB / 1.014 GB, free: 3.715 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/0.9307, allocations: 13.62 MB / 1.027 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.9319, allocations: 1.339 MB / 1.028 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002098/0.934, allocations: 0.7189 MB / 1.029 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.9351, allocations: 0.6242 MB / 1.03 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of SimCode: time 1.272e-06/0.9351, allocations: 0 / 1.03 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07944/1.015, allocations: 40.59 MB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.8, allocations: 8 kB / 1.069 GB, free: 11.01 MB / 0.8262 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)