Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.03/2.03, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 199.1 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 111.6 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 48.91 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2157, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1327/0.3485, allocations: 171.6 MB / 1.386 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.3518, allocations: 2.322 MB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.3521, allocations: 11.94 kB / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.3526, allocations: 190.8 kB / 1.388 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3543, allocations: 0.8753 MB / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3558, allocations: 0.7516 MB / 1.39 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.357, allocations: 1.348 MB / 1.391 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.3573, allocations: 282.3 kB / 1.391 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.3578, allocations: 418.4 kB / 1.392 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.3582, allocations: 330.6 kB / 1.392 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.3582, allocations: 20 kB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.3597, allocations: 1.173 MB / 1.393 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3598, allocations: 139.5 kB / 1.393 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.36, allocations: 218.8 kB / 1.393 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.361, allocations: 0.9581 MB / 1.394 GB, free: 4 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3611, allocations: 0 / 1.394 GB, free: 4 kB / 0.8855 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3611, allocations: 0 / 1.394 GB, free: 4 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3611, allocations: 0 / 1.394 GB, free: 4 kB / 0.8855 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.001088/0.3622, allocations: 0.806 MB / 1.395 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3622, allocations: 11.98 kB / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.3632, allocations: 183.2 kB / 1.395 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.3637, allocations: 373.4 kB / 1.396 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3637, allocations: 24.66 kB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.3638, allocations: 28 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.3643, allocations: 369.1 kB / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3643, allocations: 0 / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3644, allocations: 19.98 kB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.3644, allocations: 15.88 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.3649, allocations: 262 kB / 1.396 GB, free: 13.82 MB / 0.9011 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.00156/0.3664, allocations: 1.675 MB / 1.398 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3668, allocations: 206.3 kB / 1.398 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.367, allocations: 120.8 kB / 1.398 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000908/0.3679, allocations: 0.8662 MB / 1.399 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3679, allocations: 34.56 kB / 1.399 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.3679, allocations: 0 / 1.399 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.000786/0.3687, allocations: 359.2 kB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.3688, allocations: 55.41 kB / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3692, allocations: 429.9 kB / 1.4 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3692, allocations: 33.7 kB / 1.4 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3693, allocations: 204.3 kB / 1.4 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.3694, allocations: 90.73 kB / 1.4 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/0.3695, allocations: 49.7 kB / 1.4 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3696, allocations: 350.7 kB / 1.401 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3698, allocations: 83.94 kB / 1.401 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.37, allocations: 130.2 kB / 1.401 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.3704, allocations: 207.9 kB / 1.401 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3704, allocations: 0 / 1.401 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004744/0.3708, allocations: 287.2 kB / 1.401 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3709, allocations: 4 kB / 1.401 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3709, allocations: 4 kB / 1.401 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3709, allocations: 0 / 1.401 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.3711, allocations: 55.91 kB / 1.401 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3711, allocations: 4 kB / 1.402 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3714, allocations: 43.73 kB / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3714, allocations: 8 kB / 1.402 GB, free: 8.156 MB / 0.9011 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.0001518/0.3715, allocations: 168.2 kB / 1.402 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.3716, allocations: 43.52 kB / 1.402 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.3722, allocations: 286.1 kB / 1.402 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3722, allocations: 112 / 1.402 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3722, allocations: 7.938 kB / 1.402 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3722, allocations: 7.938 kB / 1.402 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3733, allocations: 0.8083 MB / 1.403 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3733, allocations: 4 kB / 1.403 GB, free: 6.754 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.3735, allocations: 47.91 kB / 1.403 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3735, allocations: 4 kB / 1.403 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3736, allocations: 4 kB / 1.403 GB, free: 6.699 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3736, allocations: 4 kB / 1.403 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3736, allocations: 0 / 1.403 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008858/0.3824, allocations: 3.565 MB / 1.406 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3826, allocations: 140.6 kB / 1.407 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.3826, allocations: 8 kB / 1.407 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3829, allocations: 35.91 kB / 1.407 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.383, allocations: 15.92 kB / 1.407 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.383, allocations: 15.98 kB / 1.407 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002666/0.3833, allocations: 299.1 kB / 1.407 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3833, allocations: 0 / 1.407 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005722/0.3839, allocations: 175.8 kB / 1.407 GB, free: 2.215 MB / 0.9011 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.0003669/0.3842, allocations: 190.6 kB / 1.407 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.3847, allocations: 203.8 kB / 1.407 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3847, allocations: 0 / 1.407 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3849, allocations: 123.7 kB / 1.408 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.386, allocations: 224.7 kB / 1.408 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3874, allocations: 1.226 MB / 1.409 GB, free: 212 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3877, allocations: 0.8314 MB / 1.41 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002906/0.388, allocations: 99.33 kB / 1.41 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3881, allocations: 31.44 kB / 1.41 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/0.3881, allocations: 0 / 1.41 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of Templates: time 0.01243/0.4006, allocations: 8.951 MB / 1.419 GB, free: 6.387 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)