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.001402/0.001402, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001708, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.81 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3246, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1905/0.5152, allocations: 173.8 MB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004203/0.5194, allocations: 2.293 MB / 1.24 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.52, allocations: 15.88 kB / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.5209, allocations: 234.4 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.5234, allocations: 0.9327 MB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.5258, allocations: 0.8279 MB / 1.242 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.5272, allocations: 0.9546 MB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.5277, allocations: 342.9 kB / 1.243 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007332/0.5285, allocations: 446.4 kB / 1.244 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.5289, allocations: 318.6 kB / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.5289, allocations: 32 kB / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.531, allocations: 0.9859 MB / 1.245 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.5311, allocations: 143.5 kB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.5314, allocations: 242.8 kB / 1.245 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5326, allocations: 0.8959 MB / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5327, allocations: 0 / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5327, allocations: 0 / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.5327, allocations: 4 kB / 1.246 GB, free: 3.352 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.001196/0.5339, allocations: 0.7944 MB / 1.247 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5339, allocations: 8.031 kB / 1.247 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.5351, allocations: 195.1 kB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.5357, allocations: 369.5 kB / 1.248 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.5357, allocations: 20.66 kB / 1.248 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.5358, allocations: 35.91 kB / 1.248 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.5364, allocations: 377.1 kB / 1.248 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5364, allocations: 0 / 1.248 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.5364, allocations: 12 kB / 1.248 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.5365, allocations: 11.94 kB / 1.248 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.537, allocations: 262 kB / 1.248 GB, free: 1.176 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.6306/1.168, allocations: 1.675 MB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/1.168, allocations: 202.5 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/1.168, allocations: 116.7 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.169, allocations: 0.8705 MB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/1.169, allocations: 38.44 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.945e-06/1.169, allocations: 0.75 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.00102/1.17, allocations: 353.8 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.17, allocations: 54.69 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/1.171, allocations: 428.8 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.171, allocations: 31.8 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/1.171, allocations: 213.9 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/1.171, allocations: 81.44 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/1.171, allocations: 53.94 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/1.171, allocations: 348.4 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/1.172, allocations: 83 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/1.172, allocations: 125.2 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/1.172, allocations: 212.4 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.172, allocations: 0 / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005498/1.173, allocations: 286.1 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.173, allocations: 6.234 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.173, allocations: 1.25 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.173, allocations: 2.844 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/1.173, allocations: 49.44 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.173, allocations: 5.562 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/1.173, allocations: 32.77 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/1.173, allocations: 15.58 kB / 1.253 GB, free: 184.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.0001515/1.174, allocations: 169.8 kB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/1.174, allocations: 44.16 kB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/1.174, allocations: 283.4 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.174, allocations: 5.062 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.174, allocations: 0 / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.174, allocations: 1.781 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.176, allocations: 0.8117 MB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.176, allocations: 1.625 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/1.176, allocations: 46.48 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.176, allocations: 5.969 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/1.176, allocations: 8 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.176, allocations: 3.891 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.176, allocations: 1.938 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/1.177, allocations: 0.5041 MB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/1.177, allocations: 147.3 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/1.177, allocations: 4.797 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/1.177, allocations: 15.03 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/1.177, allocations: 20.91 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/1.177, allocations: 16.39 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003484/1.178, allocations: 300.4 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.178, allocations: 3.938 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004956/1.178, allocations: 117.2 kB / 1.256 GB, free: 183.6 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.0004199/1.179, allocations: 193 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005112/1.179, allocations: 229.1 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.179, allocations: 0.9688 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/1.18, allocations: 116.3 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.181, allocations: 234.5 kB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/1.182, allocations: 0.9124 MB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/1.182, allocations: 0.8236 MB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002947/1.183, allocations: 80.47 kB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/1.183, allocations: 35.47 kB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.183, allocations: 0 / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.01646/1.199, allocations: 8.043 MB / 1.266 GB, free: 181.9 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)