Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 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.001428/0.001428, allocations: 189.8 kB / 16.53 MB, free: 6.391 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.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.94 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4226, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2091/0.6317, allocations: 173.8 MB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004639/0.6365, allocations: 2.29 MB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.6371, allocations: 11.94 kB / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009224/0.638, allocations: 234.4 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.6406, allocations: 0.9294 MB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.6431, allocations: 0.817 MB / 1.242 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.6447, allocations: 0.9701 MB / 1.243 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.6452, allocations: 327 kB / 1.243 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008351/0.6461, allocations: 462.2 kB / 1.244 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.6465, allocations: 310.7 kB / 1.244 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.6465, allocations: 32 kB / 1.244 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.6486, allocations: 0.9859 MB / 1.245 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.6488, allocations: 147.6 kB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.6491, allocations: 242.8 kB / 1.245 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.6504, allocations: 0.896 MB / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6505, allocations: 0 / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.6505, allocations: 0 / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.6505, allocations: 0 / 1.246 GB, free: 3.355 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.001224/0.6517, allocations: 0.8022 MB / 1.247 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.6518, allocations: 8.031 kB / 1.247 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.653, allocations: 183.1 kB / 1.247 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.6536, allocations: 373.5 kB / 1.248 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.6536, allocations: 24.66 kB / 1.248 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.6537, allocations: 39.88 kB / 1.248 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.6543, allocations: 365.2 kB / 1.248 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.6543, allocations: 3.938 kB / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.6543, allocations: 16 kB / 1.248 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.6544, allocations: 15.92 kB / 1.248 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.6549, allocations: 258 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.8301/1.485, allocations: 1.67 MB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/1.486, allocations: 202.4 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/1.486, allocations: 115.4 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.487, allocations: 0.8673 MB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.487, allocations: 42.27 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/1.487, allocations: 0 / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.001146/1.488, allocations: 357.7 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.488, allocations: 54.39 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/1.489, allocations: 422.7 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/1.489, allocations: 32.12 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.489, allocations: 213.3 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/1.489, allocations: 85.34 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/1.489, allocations: 58.77 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.489, allocations: 352.2 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/1.49, allocations: 81.02 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/1.49, allocations: 128 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/1.49, allocations: 207.6 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.49, allocations: 0 / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005697/1.491, allocations: 284.2 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.491, allocations: 5.469 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.491, allocations: 0.75 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.491, allocations: 6.547 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/1.491, allocations: 54.75 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.491, allocations: 2.812 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/1.491, allocations: 31.95 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/1.491, allocations: 11.62 kB / 1.253 GB, free: 185.1 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.0001523/1.492, allocations: 175 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/1.492, allocations: 43.66 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/1.492, allocations: 281.8 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.492, allocations: 2.938 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.492, allocations: 0 / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.492, allocations: 2.469 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.494, allocations: 0.8066 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.494, allocations: 4.234 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/1.494, allocations: 49.3 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.494, allocations: 6.469 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/1.494, allocations: 7.578 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.494, allocations: 3.109 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.494, allocations: 2.625 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/1.495, allocations: 0.5039 MB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.495, allocations: 146.5 kB / 1.255 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/1.495, allocations: 7.469 kB / 1.255 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/1.495, allocations: 15.78 kB / 1.255 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/1.495, allocations: 22.17 kB / 1.255 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/1.495, allocations: 8.266 kB / 1.255 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004561/1.496, allocations: 301.5 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.496, allocations: 3.844 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006721/1.497, allocations: 117.6 kB / 1.256 GB, free: 184.1 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.0005452/1.497, allocations: 197.7 kB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006862/1.498, allocations: 222.2 kB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.498, allocations: 2.406 kB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/1.498, allocations: 117.8 kB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.5, allocations: 233.9 kB / 1.257 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/1.502, allocations: 0.9105 MB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/1.502, allocations: 0.8273 MB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004443/1.503, allocations: 80.33 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/1.503, allocations: 32.81 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.503, allocations: 4 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02503/1.528, allocations: 8.044 MB / 1.266 GB, free: 182.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)