Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001382/0.001382, allocations: 189.9 kB / 16.13 MB, free: 6.656 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 67.88 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3988, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2122/0.611, allocations: 171.6 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004855/0.6159, allocations: 2.314 MB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.6167, allocations: 15.94 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.6178, allocations: 190.8 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.6208, allocations: 0.8714 MB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.6234, allocations: 0.7514 MB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.6254, allocations: 1.341 MB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/0.6261, allocations: 286.3 kB / 1.241 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.6273, allocations: 430.3 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.628, allocations: 318.6 kB / 1.241 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.6282, allocations: 20 kB / 1.241 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.6307, allocations: 1.165 MB / 1.243 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.631, allocations: 139.5 kB / 1.243 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.6314, allocations: 226.8 kB / 1.243 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.6336, allocations: 0.9581 MB / 1.244 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6336, allocations: 4 kB / 1.244 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6336, allocations: 0 / 1.244 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.6337, allocations: 0 / 1.244 GB, free: 5.699 MB / 0.9981 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.001723/0.6354, allocations: 0.7983 MB / 1.245 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6354, allocations: 8.031 kB / 1.245 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.6369, allocations: 191.1 kB / 1.245 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.6376, allocations: 377.5 kB / 1.245 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.6376, allocations: 20.66 kB / 1.245 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.6377, allocations: 31.91 kB / 1.245 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.6384, allocations: 381.1 kB / 1.246 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6385, allocations: 0 / 1.246 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.6385, allocations: 15.94 kB / 1.246 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.6386, allocations: 11.94 kB / 1.246 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/0.6391, allocations: 266 kB / 1.246 GB, free: 3.508 MB / 0.9981 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.00238/0.6415, allocations: 1.671 MB / 1.247 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.642, allocations: 206.5 kB / 1.248 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.6423, allocations: 112.8 kB / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.6436, allocations: 0.8662 MB / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.6437, allocations: 34.56 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/0.6437, allocations: 0 / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.7785/1.422, allocations: 364.4 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.422, allocations: 54.12 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/1.423, allocations: 420.5 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/1.423, allocations: 30.83 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/1.423, allocations: 208.1 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/1.423, allocations: 88.02 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.423, allocations: 53.61 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.423, allocations: 355 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/1.424, allocations: 83.02 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/1.424, allocations: 120.9 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/1.424, allocations: 208.8 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.424, allocations: 2.359 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00067/1.425, allocations: 286.2 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.425, allocations: 7.25 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.425, allocations: 0.7188 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.425, allocations: 3.719 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/1.425, allocations: 49.94 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.426, allocations: 2.344 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/1.426, allocations: 42.59 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/1.426, allocations: 12.12 kB / 1.251 GB, free: 186.6 MB / 0.9981 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.0001742/1.426, allocations: 168.5 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/1.426, allocations: 44.5 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/1.427, allocations: 281.7 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.427, allocations: 2.812 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.427, allocations: 1.359 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.427, allocations: 1.406 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/1.428, allocations: 0.8119 MB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/1.428, allocations: 2.234 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/1.428, allocations: 52.64 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.428, allocations: 3.969 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.428, allocations: 3.938 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.428, allocations: 3.109 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.428, allocations: 2.219 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/1.429, allocations: 0.5088 MB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.43, allocations: 139.6 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/1.43, allocations: 9.844 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/1.43, allocations: 30.09 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/1.43, allocations: 18.91 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/1.43, allocations: 16.3 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004195/1.43, allocations: 300.4 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.213e-06/1.43, allocations: 4.094 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005583/1.431, allocations: 117.3 kB / 1.253 GB, free: 185.7 MB / 0.9981 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.0005059/1.432, allocations: 189.8 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005936/1.432, allocations: 207.1 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.432, allocations: 0 / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/1.432, allocations: 116.8 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.434, allocations: 212.9 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/1.436, allocations: 1.031 MB / 1.255 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/1.436, allocations: 0.8321 MB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003832/1.436, allocations: 89.08 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/1.437, allocations: 31.75 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.437, allocations: 0.7812 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01728/1.454, allocations: 7.679 MB / 1.264 GB, free: 183.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)