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.001119/0.001119, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001111/0.001111, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 293.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4173, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1746/0.592, allocations: 173.8 MB / 0.9368 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003637/0.5956, allocations: 2.296 MB / 0.939 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.5959, allocations: 15.88 kB / 0.939 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.5967, allocations: 238.3 kB / 0.9393 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.5986, allocations: 0.9255 MB / 0.9402 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.6006, allocations: 0.8302 MB / 0.941 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.6018, allocations: 0.9663 MB / 0.9419 GB, free: 156 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.6023, allocations: 333.5 kB / 0.9422 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.6029, allocations: 458.3 kB / 0.9427 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.6033, allocations: 318.7 kB / 0.943 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.6034, allocations: 39.94 kB / 0.943 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.6049, allocations: 0.9898 MB / 0.944 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.6051, allocations: 147.5 kB / 0.9441 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.6053, allocations: 238.8 kB / 0.9444 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.6064, allocations: 0.8999 MB / 0.9452 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.6065, allocations: 0 / 0.9452 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6065, allocations: 0 / 0.9452 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.6065, allocations: 4 kB / 0.9452 GB, free: 12.75 MB / 0.7169 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.001206/0.6077, allocations: 0.8098 MB / 0.946 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6077, allocations: 12.03 kB / 0.946 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.609, allocations: 179.2 kB / 0.9462 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.6096, allocations: 393.3 kB / 0.9466 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.6097, allocations: 24.66 kB / 0.9466 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.6097, allocations: 28 kB / 0.9466 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.6103, allocations: 373.1 kB / 0.947 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.6104, allocations: 0 / 0.947 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.6104, allocations: 16 kB / 0.947 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.6104, allocations: 15.94 kB / 0.947 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.6109, allocations: 262 kB / 0.9473 GB, free: 10.55 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.00172/0.6127, allocations: 1.664 MB / 0.9489 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.6131, allocations: 202.6 kB / 0.9491 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.6133, allocations: 120.7 kB / 0.9492 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009808/0.6143, allocations: 0.874 MB / 0.9501 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6143, allocations: 30.56 kB / 0.9501 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 2.024e-06/0.6143, allocations: 0 / 0.9501 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0009072/0.6153, allocations: 367.5 kB / 0.9504 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.6153, allocations: 55.41 kB / 0.9505 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.6157, allocations: 421.9 kB / 0.9509 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.6158, allocations: 33.64 kB / 0.9509 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6159, allocations: 208.3 kB / 0.9511 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.616, allocations: 82.75 kB / 0.9512 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.6161, allocations: 49.7 kB / 0.9512 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6162, allocations: 354.7 kB / 0.9516 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.6164, allocations: 79.94 kB / 0.9517 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.6167, allocations: 119.4 kB / 0.9518 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.6171, allocations: 229.1 kB / 0.952 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6171, allocations: 0 / 0.952 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005245/0.6176, allocations: 283 kB / 0.9523 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6177, allocations: 4 kB / 0.9523 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6177, allocations: 4 kB / 0.9523 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6177, allocations: 0 / 0.9523 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.618, allocations: 51.91 kB / 0.9523 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.618, allocations: 4 kB / 0.9523 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.6182, allocations: 39.64 kB / 0.9524 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.6182, allocations: 12 kB / 0.9524 GB, free: 4.898 MB / 0.7169 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.0001702/0.6184, allocations: 164.2 kB / 0.9525 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.6185, allocations: 39.53 kB / 0.9526 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.6191, allocations: 285 kB / 0.9528 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6191, allocations: 0 / 0.9528 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6191, allocations: 8 kB / 0.9528 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.6193, allocations: 144.5 kB / 0.953 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.123e-05/0.6193, allocations: 8 kB / 0.953 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.6196, allocations: 11.98 kB / 0.953 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.6197, allocations: 15.97 kB / 0.953 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006643/0.6203, allocations: 330.7 kB / 0.9533 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008441/0.6212, allocations: 0.5539 MB / 0.9539 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002/0.6214, allocations: 101 kB / 0.954 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002934/0.6217, allocations: 303.1 kB / 0.9543 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of Backend: time 4.01e-07/0.6217, allocations: 4 kB / 0.9543 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.6229, allocations: 437.9 kB / 0.9547 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001945/0.6249, allocations: 1.436 MB / 0.9561 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of Templates: time 0.3454/0.9703, allocations: 10.27 MB / 0.9661 GB, free: 189.1 MB / 0.7169 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)