Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 177.2 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009222/0.0009224, allocations: 99.95 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004546, allocations: 11.94 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7141/0.9582, allocations: 171.3 MB / 1.064 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004469/0.9628, allocations: 2.36 MB / 1.066 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.9637, allocations: 14.5 kB / 1.066 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.9647, allocations: 191.5 kB / 1.067 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.9676, allocations: 0.8519 MB / 1.067 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.9703, allocations: 0.7726 MB / 1.068 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002442/0.9728, allocations: 1.348 MB / 1.069 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.9736, allocations: 272.8 kB / 1.07 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.975, allocations: 419.9 kB / 1.07 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.9762, allocations: 325.3 kB / 1.07 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.9763, allocations: 18.5 kB / 1.07 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.9808, allocations: 1.162 MB / 1.072 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.9813, allocations: 132 kB / 1.072 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.9824, allocations: 221.5 kB / 1.072 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.9842, allocations: 0.6303 MB / 1.073 GB, free: 1.602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9842, allocations: 0.8125 kB / 1.073 GB, free: 1.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9842, allocations: 0 / 1.073 GB, free: 1.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.658e-05/0.9843, allocations: 0 / 1.073 GB, free: 1.602 MB / 0.698 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.002175/0.9864, allocations: 0.7299 MB / 1.073 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.9865, allocations: 9.125 kB / 1.073 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.988, allocations: 181.5 kB / 1.073 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.9886, allocations: 379.5 kB / 1.074 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.9887, allocations: 23.28 kB / 1.074 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.9888, allocations: 30 kB / 1.074 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.9895, allocations: 380.3 kB / 1.074 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.9895, allocations: 3.797 kB / 1.074 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.9896, allocations: 11.25 kB / 1.074 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.9896, allocations: 18.34 kB / 1.074 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.9902, allocations: 269.2 kB / 1.074 GB, free: 16.67 MB / 0.7136 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.00222/0.9925, allocations: 1.678 MB / 1.076 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.993, allocations: 210.3 kB / 1.076 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.9934, allocations: 121.6 kB / 1.076 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.9948, allocations: 0.8832 MB / 1.077 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.9949, allocations: 37.02 kB / 1.077 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.455e-06/0.9949, allocations: 0 / 1.077 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001298/0.9962, allocations: 372.5 kB / 1.078 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.9963, allocations: 60.38 kB / 1.078 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.997, allocations: 420.8 kB / 1.078 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.9971, allocations: 30.83 kB / 1.078 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.9973, allocations: 214.7 kB / 1.078 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.9974, allocations: 78.83 kB / 1.078 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.9975, allocations: 28.11 kB / 1.078 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.9977, allocations: 352.5 kB / 1.079 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.9979, allocations: 81.3 kB / 1.079 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.9982, allocations: 134.4 kB / 1.079 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.9987, allocations: 224.7 kB / 1.079 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9987, allocations: 0 / 1.079 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006913/0.9994, allocations: 298.2 kB / 1.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.9994, allocations: 5.469 kB / 1.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9994, allocations: 1.969 kB / 1.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.9995, allocations: 1.406 kB / 1.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.9998, allocations: 51.88 kB / 1.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.9998, allocations: 2.75 kB / 1.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/1, allocations: 50.61 kB / 1.08 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/1, allocations: 11.94 kB / 1.08 GB, free: 13.6 MB / 0.7136 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.0002299/1, allocations: 164.4 kB / 1.08 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/1, allocations: 41.7 kB / 1.08 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/1.001, allocations: 305.7 kB / 1.08 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.001, allocations: 4.844 kB / 1.08 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.001, allocations: 0 / 1.08 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.001, allocations: 8.078 kB / 1.08 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.003, allocations: 0.8152 MB / 1.081 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.003, allocations: 1.312 kB / 1.081 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.003, allocations: 51.31 kB / 1.081 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/1.003, allocations: 6.672 kB / 1.081 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.003, allocations: 7.562 kB / 1.081 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.003, allocations: 2.688 kB / 1.081 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.003, allocations: 6.188 kB / 1.081 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/1.004, allocations: 0.5324 MB / 1.082 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/1.004, allocations: 137.6 kB / 1.082 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/1.004, allocations: 10.55 kB / 1.082 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.004, allocations: 27.05 kB / 1.082 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.004, allocations: 22.73 kB / 1.082 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/1.005, allocations: 11.56 kB / 1.082 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003518/1.005, allocations: 305 kB / 1.082 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/1.005, allocations: 0 / 1.082 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005051/1.005, allocations: 119 kB / 1.082 GB, free: 12.59 MB / 0.7136 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.0004473/1.006, allocations: 188.4 kB / 1.082 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000488/1.006, allocations: 221.8 kB / 1.083 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.006, allocations: 0 / 1.083 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/1.007, allocations: 120.2 kB / 1.083 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.008, allocations: 212.8 kB / 1.083 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/1.009, allocations: 1.065 MB / 1.084 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.01, allocations: 0.823 MB / 1.085 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/1.01, allocations: 36.34 kB / 1.085 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/1.01, allocations: 0 / 1.085 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.01025/1.02, allocations: 6.534 MB / 1.091 GB, free: 10.57 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)