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: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001359/0.001359, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001758, allocations: 274.1 kB / 291.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004433, allocations: 16.97 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5227/0.7112, allocations: 158 MB / 0.8388 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.715, allocations: 2.163 MB / 0.8409 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.7156, allocations: 10.66 kB / 0.8409 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.7162, allocations: 158.2 kB / 0.841 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.7182, allocations: 0.6717 MB / 0.8417 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.7199, allocations: 0.6089 MB / 0.8423 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.7212, allocations: 1.148 MB / 0.8434 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.7217, allocations: 261.6 kB / 0.8436 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.7225, allocations: 406.1 kB / 0.844 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.7229, allocations: 306.7 kB / 0.8443 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.7229, allocations: 18.88 kB / 0.8443 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.7242, allocations: 0.5331 MB / 0.8449 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.7244, allocations: 136.2 kB / 0.845 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.7245, allocations: 107.5 kB / 0.8451 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007186/0.7252, allocations: 0.5495 MB / 0.8456 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7253, allocations: 1.75 kB / 0.8456 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7253, allocations: 3.938 kB / 0.8456 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7253, allocations: 4 kB / 0.8456 GB, free: 2.781 MB / 0.5606 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.001112/0.7264, allocations: 0.7309 MB / 0.8464 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7265, allocations: 11.91 kB / 0.8464 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.7276, allocations: 172.6 kB / 0.8465 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.7281, allocations: 358.8 kB / 0.8469 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.7281, allocations: 27.55 kB / 0.8469 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.7282, allocations: 37.47 kB / 0.8469 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.7288, allocations: 376.2 kB / 0.8473 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.7288, allocations: 2.438 kB / 0.8473 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.7288, allocations: 10.38 kB / 0.8473 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.7289, allocations: 14.66 kB / 0.8473 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.7293, allocations: 271.8 kB / 0.8476 GB, free: 1.328 MB / 0.5606 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.001725/0.7311, allocations: 1.672 MB / 0.8492 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.7314, allocations: 212.2 kB / 0.8494 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.7316, allocations: 117.9 kB / 0.8495 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009768/0.7326, allocations: 0.8811 MB / 0.8504 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.7327, allocations: 41.88 kB / 0.8504 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.874e-06/0.7327, allocations: 0 / 0.8504 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008504/0.7335, allocations: 380.5 kB / 0.8508 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.7336, allocations: 51.41 kB / 0.8508 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.734, allocations: 413.8 kB / 0.8512 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.7341, allocations: 29.7 kB / 0.8513 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.7342, allocations: 213.7 kB / 0.8515 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.7343, allocations: 85.59 kB / 0.8516 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.7343, allocations: 6.938 kB / 0.8516 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7345, allocations: 354.7 kB / 0.8519 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.7346, allocations: 78.61 kB / 0.852 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.7349, allocations: 127.1 kB / 0.8521 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.7351, allocations: 106.7 kB / 0.8522 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7351, allocations: 3.938 kB / 0.8522 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004788/0.7356, allocations: 287.7 kB / 0.8525 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7356, allocations: 6.188 kB / 0.8525 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7356, allocations: 6.469 kB / 0.8525 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7356, allocations: 6.75 kB / 0.8525 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.7359, allocations: 52.42 kB / 0.8525 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7359, allocations: 3 kB / 0.8525 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.7361, allocations: 44.06 kB / 0.8526 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.7362, allocations: 12.22 kB / 0.8526 GB, free: 13.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.7363, allocations: 167 kB / 0.8528 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.7364, allocations: 42.59 kB / 0.8528 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.737, allocations: 298.5 kB / 0.8531 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.737, allocations: 2.906 kB / 0.8531 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.737, allocations: 0 / 0.8531 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.737, allocations: 5.922 kB / 0.8531 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.7381, allocations: 0.8196 MB / 0.8539 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7381, allocations: 2.75 kB / 0.8539 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.7384, allocations: 47.39 kB / 0.8539 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7384, allocations: 5.5 kB / 0.8539 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.7384, allocations: 6.906 kB / 0.8539 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.7384, allocations: 10.78 kB / 0.854 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7384, allocations: 1.781 kB / 0.854 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/0.7391, allocations: 0.5132 MB / 0.8545 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.7393, allocations: 150.7 kB / 0.8546 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.7393, allocations: 6.562 kB / 0.8546 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.7396, allocations: 32.45 kB / 0.8546 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.7397, allocations: 20.2 kB / 0.8547 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.7397, allocations: 9.844 kB / 0.8547 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002883/0.74, allocations: 296.6 kB / 0.855 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.74, allocations: 0 / 0.855 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004452/0.7405, allocations: 117.3 kB / 0.8551 GB, free: 11.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000411/0.7409, allocations: 199 kB / 0.8553 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.7413, allocations: 220.7 kB / 0.8555 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7413, allocations: 0 / 0.8555 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.7415, allocations: 116.4 kB / 0.8556 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/0.7425, allocations: 229 kB / 0.8558 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.744, allocations: 1.074 MB / 0.8568 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.7444, allocations: 0.8325 MB / 0.8577 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002845/0.7447, allocations: 82.8 kB / 0.8577 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.7447, allocations: 39.98 kB / 0.8578 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.7448, allocations: 0 / 0.8578 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.01184/0.7566, allocations: 7.406 MB / 0.865 GB, free: 5.691 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)