Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7109/0.7109, allocations: 128.7 MB / 144.5 MB, free: 1.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 190 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205 MB / 408.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 102.2 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 55.91 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.451/0.588, allocations: 181 MB / 0.8084 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.5923, allocations: 2.349 MB / 0.8107 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.5929, allocations: 14.88 kB / 0.8107 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.5935, allocations: 185.1 kB / 0.8109 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.5956, allocations: 0.8632 MB / 0.8118 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.5976, allocations: 0.7029 MB / 0.8124 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.5991, allocations: 1.401 MB / 0.8138 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.5995, allocations: 292.3 kB / 0.8141 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.6001, allocations: 419.8 kB / 0.8145 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.6005, allocations: 330.8 kB / 0.8148 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.6006, allocations: 22.56 kB / 0.8148 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.6024, allocations: 1.171 MB / 0.816 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.6025, allocations: 134.8 kB / 0.8161 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.6027, allocations: 225 kB / 0.8163 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.6039, allocations: 0.9663 MB / 0.8173 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6039, allocations: 0 / 0.8173 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6039, allocations: 0 / 0.8173 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6039, allocations: 0 / 0.8173 GB, free: 8.48 MB / 0.5261 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.001142/0.6051, allocations: 0.7942 MB / 0.818 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6051, allocations: 9.469 kB / 0.818 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.6062, allocations: 182 kB / 0.8182 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.6067, allocations: 362.6 kB / 0.8186 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6067, allocations: 27.5 kB / 0.8186 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.6068, allocations: 37.48 kB / 0.8186 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.6073, allocations: 349.8 kB / 0.819 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6073, allocations: 0 / 0.819 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.6073, allocations: 12.22 kB / 0.819 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.6074, allocations: 17.39 kB / 0.819 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.6078, allocations: 256.9 kB / 0.8192 GB, free: 7.312 MB / 0.5261 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.001468/0.6093, allocations: 1.502 MB / 0.8207 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.6097, allocations: 216.3 kB / 0.8209 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.6099, allocations: 123.3 kB / 0.821 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.6108, allocations: 0.8652 MB / 0.8219 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6109, allocations: 44.56 kB / 0.8219 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.6109, allocations: 0 / 0.8219 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0007709/0.6116, allocations: 356.5 kB / 0.8222 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.6117, allocations: 61.97 kB / 0.8223 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.6121, allocations: 410.7 kB / 0.8227 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6121, allocations: 28.95 kB / 0.8227 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6122, allocations: 218.8 kB / 0.8229 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.6123, allocations: 81.33 kB / 0.823 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.6124, allocations: 54.5 kB / 0.8231 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6125, allocations: 347.6 kB / 0.8234 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.6127, allocations: 75.39 kB / 0.8235 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.6129, allocations: 131.7 kB / 0.8236 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.6132, allocations: 214.2 kB / 0.8238 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6133, allocations: 0.9375 kB / 0.8238 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004527/0.6137, allocations: 285 kB / 0.8241 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.6137, allocations: 8.812 kB / 0.8241 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6137, allocations: 0 / 0.8241 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6138, allocations: 2.094 kB / 0.8241 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.614, allocations: 52.53 kB / 0.8241 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.614, allocations: 4.438 kB / 0.8241 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.6142, allocations: 41.83 kB / 0.8242 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.6143, allocations: 12.47 kB / 0.8242 GB, free: 3.875 MB / 0.5261 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.0001324/0.6144, allocations: 168.3 kB / 0.8243 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.6145, allocations: 39.78 kB / 0.8244 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.615, allocations: 283.9 kB / 0.8247 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.615, allocations: 6.453 kB / 0.8247 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.615, allocations: 0 / 0.8247 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.615, allocations: 0 / 0.8247 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.6161, allocations: 0.7962 MB / 0.8254 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6161, allocations: 7.062 kB / 0.8254 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.6164, allocations: 51.22 kB / 0.8255 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6164, allocations: 2.281 kB / 0.8255 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.6164, allocations: 5.969 kB / 0.8255 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.6164, allocations: 6.156 kB / 0.8255 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6164, allocations: 2.906 kB / 0.8255 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009023/0.6254, allocations: 3.553 MB / 0.829 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6256, allocations: 138.5 kB / 0.8291 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.6257, allocations: 5.922 kB / 0.8291 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.6259, allocations: 32.78 kB / 0.8291 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.626, allocations: 23.61 kB / 0.8292 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.626, allocations: 7.719 kB / 0.8292 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002794/0.6263, allocations: 294.9 kB / 0.8295 GB, free: 372 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6263, allocations: 0 / 0.8295 GB, free: 372 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005961/0.6269, allocations: 172.5 kB / 0.8296 GB, free: 348 kB / 0.5261 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.0003576/0.6272, allocations: 192 kB / 0.8298 GB, free: 212 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.6277, allocations: 210.1 kB / 0.83 GB, free: 120 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6277, allocations: 0 / 0.83 GB, free: 120 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.6279, allocations: 113.1 kB / 0.8301 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.629, allocations: 215.8 kB / 0.8303 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.6306, allocations: 1.216 MB / 0.8315 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.631, allocations: 0.8282 MB / 0.8323 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000324/0.6313, allocations: 80.61 kB / 0.8324 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6314, allocations: 39.61 kB / 0.8324 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.6314, allocations: 7.875 kB / 0.8324 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.0148/0.6462, allocations: 8.859 MB / 0.8411 GB, free: 9.176 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)