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.03276/0.03276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.04511/0.04511, allocations: 195 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 294.6 kB / 290.3 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 99.17 kB / 0.5948 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.216, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7846/1.001, allocations: 171.5 MB / 0.8472 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005576/1.006, allocations: 2.281 MB / 0.8494 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/1.007, allocations: 16.03 kB / 0.8494 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/1.008, allocations: 200.6 kB / 0.8496 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/1.012, allocations: 0.875 MB / 0.8505 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/1.015, allocations: 0.7622 MB / 0.8512 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002007/1.017, allocations: 0.9634 MB / 0.8522 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/1.018, allocations: 323.2 kB / 0.8525 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009905/1.019, allocations: 464.2 kB / 0.8529 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/1.019, allocations: 331.5 kB / 0.8532 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.353e-05/1.019, allocations: 37.28 kB / 0.8533 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/1.022, allocations: 1.022 MB / 0.8543 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/1.022, allocations: 152 kB / 0.8544 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/1.023, allocations: 243.8 kB / 0.8547 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/1.025, allocations: 0.9762 MB / 0.8556 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/1.025, allocations: 0 / 0.8556 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.597e-06/1.025, allocations: 0 / 0.8556 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.025, allocations: 0 / 0.8556 GB, free: 9.859 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.00169/1.027, allocations: 0.8033 MB / 0.8564 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/1.027, allocations: 9.531 kB / 0.8564 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/1.027, allocations: 69.22 kB / 0.8565 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.028, allocations: 183.3 kB / 0.8566 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/1.029, allocations: 368.1 kB / 0.857 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/1.029, allocations: 25.25 kB / 0.857 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/1.029, allocations: 31.81 kB / 0.857 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/1.03, allocations: 368.9 kB / 0.8574 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/1.03, allocations: 0 / 0.8574 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/1.03, allocations: 14.75 kB / 0.8574 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/1.03, allocations: 17.38 kB / 0.8574 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/1.031, allocations: 260.2 kB / 0.8577 GB, free: 8.285 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.002478/1.033, allocations: 1.676 MB / 0.8593 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.035, allocations: 207.8 kB / 0.8595 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/1.035, allocations: 113.2 kB / 0.8596 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.037, allocations: 0.8732 MB / 0.8605 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.037, allocations: 37.45 kB / 0.8605 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/1.037, allocations: 3.938 kB / 0.8605 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.00106/1.038, allocations: 361.9 kB / 0.8609 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.038, allocations: 54.31 kB / 0.8609 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/1.038, allocations: 414.2 kB / 0.8613 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/1.039, allocations: 32.23 kB / 0.8613 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/1.039, allocations: 216.7 kB / 0.8615 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/1.039, allocations: 84.84 kB / 0.8616 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.039, allocations: 45.55 kB / 0.8617 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002634/1.039, allocations: 356.5 kB / 0.862 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/1.039, allocations: 82.97 kB / 0.8621 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/1.04, allocations: 122 kB / 0.8622 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/1.04, allocations: 212 kB / 0.8624 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.04, allocations: 0 / 0.8624 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005717/1.041, allocations: 287 kB / 0.8627 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.041, allocations: 6.938 kB / 0.8627 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.041, allocations: 1.781 kB / 0.8627 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.041, allocations: 2.781 kB / 0.8627 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/1.041, allocations: 52.31 kB / 0.8627 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.041, allocations: 0 / 0.8627 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/1.041, allocations: 50.23 kB / 0.8628 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.041, allocations: 15.88 kB / 0.8628 GB, free: 3.922 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.0002071/1.042, allocations: 159.7 kB / 0.863 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/1.042, allocations: 43.62 kB / 0.863 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/1.042, allocations: 284.4 kB / 0.8633 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.042, allocations: 2.094 kB / 0.8633 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.042, allocations: 2.5 kB / 0.8633 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.042, allocations: 7.922 kB / 0.8633 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/1.044, allocations: 0.8107 MB / 0.8641 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.044, allocations: 3.938 kB / 0.8641 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/1.044, allocations: 43.2 kB / 0.8641 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.044, allocations: 2.094 kB / 0.8641 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/1.044, allocations: 12.73 kB / 0.8641 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/1.044, allocations: 4.781 kB / 0.8641 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.044, allocations: 3.188 kB / 0.8641 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/1.045, allocations: 0.5046 MB / 0.8646 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/1.045, allocations: 149.2 kB / 0.8648 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/1.045, allocations: 10.03 kB / 0.8648 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/1.046, allocations: 28.58 kB / 0.8648 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/1.046, allocations: 18.27 kB / 0.8648 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.046, allocations: 15.52 kB / 0.8648 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003484/1.046, allocations: 293.7 kB / 0.8651 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.046, allocations: 0 / 0.8651 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005122/1.047, allocations: 123.3 kB / 0.8652 GB, free: 2.168 MB / 0.5762 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.001751/1.048, allocations: 1.131 MB / 0.8663 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005709/1.049, allocations: 213.5 kB / 0.8665 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.049, allocations: 0 / 0.8665 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/1.049, allocations: 116.7 kB / 0.8667 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.05, allocations: 232.2 kB / 0.8669 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/1.056, allocations: 3.843 MB / 0.8706 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/1.057, allocations: 0.8282 MB / 0.8714 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004092/1.057, allocations: 80.75 kB / 0.8715 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.057, allocations: 136.5 kB / 0.8716 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/1.057, allocations: 0 / 0.8716 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/1.089, allocations: 11.85 MB / 0.8832 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.089, allocations: 244.9 kB / 0.8835 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/3.12, allocations: 4 kB / 0.8835 GB, free: 6.664 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)