Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",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.001094/0.001094, allocations: 108 kB / 15.61 MB, free: 152 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.001136/0.001136, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 279 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 99.84 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1306, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.4165/0.5471, allocations: 173.8 MB / 0.85 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.551, allocations: 2.296 MB / 0.8522 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.5513, allocations: 17.94 kB / 0.8523 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.5519, allocations: 230 kB / 0.8525 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.5538, allocations: 0.9384 MB / 0.8534 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.5555, allocations: 0.8121 MB / 0.8542 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.5564, allocations: 0.9702 MB / 0.8551 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.5568, allocations: 329.1 kB / 0.8555 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.5574, allocations: 447.3 kB / 0.8559 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.5577, allocations: 320.1 kB / 0.8562 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.5578, allocations: 33.84 kB / 0.8562 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.5592, allocations: 0.9923 MB / 0.8572 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.5593, allocations: 148.9 kB / 0.8573 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.5595, allocations: 238.4 kB / 0.8576 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.5606, allocations: 0.9019 MB / 0.8584 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5606, allocations: 0 / 0.8584 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5606, allocations: 0 / 0.8584 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5606, allocations: 0 / 0.8584 GB, free: 7.59 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001105/0.5617, allocations: 0.8071 MB / 0.8592 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5618, allocations: 9.375 kB / 0.8592 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.894e-05/0.5618, allocations: 68.72 kB / 0.8593 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.563, allocations: 183.8 kB / 0.8595 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.5635, allocations: 365.9 kB / 0.8598 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5635, allocations: 23.91 kB / 0.8598 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.5635, allocations: 31.78 kB / 0.8599 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.5641, allocations: 369.7 kB / 0.8602 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5641, allocations: 3.031 kB / 0.8602 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.5642, allocations: 10.72 kB / 0.8602 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5642, allocations: 13.28 kB / 0.8603 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.5647, allocations: 268.2 kB / 0.8605 GB, free: 6.012 MB / 0.5762 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.001643/0.5663, allocations: 1.685 MB / 0.8622 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.5667, allocations: 208.4 kB / 0.8624 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.5669, allocations: 110.9 kB / 0.8625 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.568, allocations: 0.868 MB / 0.8633 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.568, allocations: 38.55 kB / 0.8633 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 3.858e-06/0.568, allocations: 112 / 0.8633 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008425/0.5689, allocations: 357.7 kB / 0.8637 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5689, allocations: 57.77 kB / 0.8637 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.5693, allocations: 420.9 kB / 0.8641 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.5694, allocations: 29.7 kB / 0.8642 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.5695, allocations: 218.9 kB / 0.8644 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.5696, allocations: 80.84 kB / 0.8645 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.5697, allocations: 49.89 kB / 0.8645 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5698, allocations: 360.2 kB / 0.8648 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.57, allocations: 76.86 kB / 0.8649 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.5702, allocations: 126.4 kB / 0.865 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.5706, allocations: 211.3 kB / 0.8652 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5706, allocations: 4 kB / 0.8652 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004865/0.5711, allocations: 281.4 kB / 0.8655 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5711, allocations: 7.406 kB / 0.8655 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5711, allocations: 0 / 0.8655 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5711, allocations: 6.25 kB / 0.8655 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.5714, allocations: 51.97 kB / 0.8656 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5714, allocations: 2.844 kB / 0.8656 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.5716, allocations: 47.08 kB / 0.8656 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.5716, allocations: 11.5 kB / 0.8656 GB, free: 1.648 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001564/0.5718, allocations: 153.1 kB / 0.8658 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.5719, allocations: 43.62 kB / 0.8658 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.5724, allocations: 287.5 kB / 0.8661 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5724, allocations: 4.438 kB / 0.8661 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5724, allocations: 4 kB / 0.8661 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5724, allocations: 7.922 kB / 0.8661 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5736, allocations: 0.809 MB / 0.8669 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5736, allocations: 3.938 kB / 0.8669 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.5738, allocations: 43.2 kB / 0.8669 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5738, allocations: 2.094 kB / 0.8669 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.5738, allocations: 13.27 kB / 0.867 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5739, allocations: 2.688 kB / 0.867 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5739, allocations: 2.438 kB / 0.867 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.5746, allocations: 0.5026 MB / 0.8675 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.5748, allocations: 152.5 kB / 0.8676 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.5748, allocations: 8.5 kB / 0.8676 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.5751, allocations: 14.7 kB / 0.8676 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.5751, allocations: 22.25 kB / 0.8676 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5752, allocations: 7.812 kB / 0.8677 GB, free: 120 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003002/0.5755, allocations: 304.1 kB / 0.8679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5755, allocations: 0 / 0.8679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004105/0.5759, allocations: 116.8 kB / 0.8681 GB, free: 15.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.001252/0.5771, allocations: 1.142 MB / 0.8692 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.5776, allocations: 217 kB / 0.8694 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5777, allocations: 3.938 kB / 0.8694 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.5779, allocations: 109.7 kB / 0.8695 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.579, allocations: 232.9 kB / 0.8697 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.5836, allocations: 3.737 MB / 0.8734 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.584, allocations: 0.8221 MB / 0.8742 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.5843, allocations: 86.97 kB / 0.8742 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5845, allocations: 136.4 kB / 0.8744 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5845, allocations: 0 / 0.8744 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.6151, allocations: 12.01 MB / 0.8861 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/8.01, allocations: 23.12 kB / 0.8861 GB, free: 4.086 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)