Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009251/0.009251, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001692/0.001692, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.603/1.603, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 270.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9921/0.9921, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2627, allocations: 86.96 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7723/1.035, allocations: 173.8 MB / 0.9361 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00482/1.04, allocations: 2.301 MB / 0.9384 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/1.041, allocations: 11.94 kB / 0.9384 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009144/1.041, allocations: 234.3 kB / 0.9386 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/1.044, allocations: 0.9371 MB / 0.9395 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/1.047, allocations: 0.8241 MB / 0.9403 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001436/1.048, allocations: 0.9585 MB / 0.9412 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/1.049, allocations: 327 kB / 0.9416 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/1.049, allocations: 458.3 kB / 0.942 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/1.05, allocations: 314.6 kB / 0.9423 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/1.05, allocations: 36 kB / 0.9423 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/1.052, allocations: 0.9859 MB / 0.9433 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/1.053, allocations: 143.5 kB / 0.9434 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/1.053, allocations: 246.8 kB / 0.9437 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/1.055, allocations: 0.9172 MB / 0.9446 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.055, allocations: 0 / 0.9446 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.754e-06/1.055, allocations: 0 / 0.9446 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.055, allocations: 0 / 0.9446 GB, free: 12.3 MB / 0.7012 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.001818/1.057, allocations: 0.8286 MB / 0.9454 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.057, allocations: 8.031 kB / 0.9454 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/1.059, allocations: 175.5 kB / 0.9455 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/1.06, allocations: 401.7 kB / 0.9459 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/1.06, allocations: 20.66 kB / 0.9459 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/1.06, allocations: 32 kB / 0.946 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/1.061, allocations: 369.1 kB / 0.9463 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.061, allocations: 0 / 0.9463 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/1.061, allocations: 19.92 kB / 0.9463 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/1.061, allocations: 15.98 kB / 0.9464 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/1.062, allocations: 258 kB / 0.9466 GB, free: 10.08 MB / 0.7012 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.001983/1.063, allocations: 1.672 MB / 0.9482 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/1.064, allocations: 210.2 kB / 0.9484 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/1.064, allocations: 112.8 kB / 0.9485 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.066, allocations: 0.8701 MB / 0.9494 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.066, allocations: 42.56 kB / 0.9494 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/1.066, allocations: 3.938 kB / 0.9494 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0009006/1.067, allocations: 358.4 kB / 0.9498 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003124/1.067, allocations: 55.41 kB / 0.9498 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/1.068, allocations: 422 kB / 0.9502 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/1.068, allocations: 29.7 kB / 0.9503 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/1.068, allocations: 220.4 kB / 0.9505 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/1.068, allocations: 87.22 kB / 0.9506 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/1.068, allocations: 45.81 kB / 0.9506 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0003924/1.069, allocations: 358.7 kB / 0.9509 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/1.069, allocations: 75.95 kB / 0.951 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/1.069, allocations: 127.4 kB / 0.9511 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/1.07, allocations: 205.8 kB / 0.9513 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.07, allocations: 0 / 0.9513 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005458/1.07, allocations: 295.6 kB / 0.9516 GB, free: 4.531 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.07, allocations: 14.02 kB / 0.9516 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.071, allocations: 0 / 0.9516 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.071, allocations: 4 kB / 0.9516 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/1.071, allocations: 48.67 kB / 0.9517 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.071, allocations: 0.9375 kB / 0.9517 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/1.071, allocations: 39.7 kB / 0.9517 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/1.071, allocations: 8 kB / 0.9517 GB, free: 4.422 MB / 0.7012 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.0001819/1.071, allocations: 170.4 kB / 0.9519 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/1.071, allocations: 43.72 kB / 0.9519 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/1.072, allocations: 287.6 kB / 0.9522 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.072, allocations: 4 kB / 0.9522 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.072, allocations: 0 / 0.9522 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/1.072, allocations: 3.938 kB / 0.9522 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.073, allocations: 0.8075 MB / 0.953 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.073, allocations: 7.938 kB / 0.953 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/1.074, allocations: 48.09 kB / 0.9531 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.074, allocations: 4 kB / 0.9531 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.074, allocations: 8 kB / 0.9531 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.074, allocations: 4 kB / 0.9531 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.074, allocations: 0 / 0.9531 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/1.074, allocations: 0.5149 MB / 0.9536 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.075, allocations: 144.8 kB / 0.9537 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/1.075, allocations: 11.98 kB / 0.9537 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/1.075, allocations: 15.98 kB / 0.9537 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/1.075, allocations: 20.42 kB / 0.9538 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/1.075, allocations: 12 kB / 0.9538 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003253/1.075, allocations: 299.1 kB / 0.9541 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 0 / 0.9541 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004677/1.076, allocations: 119.8 kB / 0.9542 GB, free: 1.785 MB / 0.7012 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.001049/1.077, allocations: 199.5 kB / 0.9544 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005051/1.077, allocations: 207.7 kB / 0.9546 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.077, allocations: 4.062 kB / 0.9546 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/1.078, allocations: 111.8 kB / 0.9547 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/1.079, allocations: 214.2 kB / 0.9549 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/1.08, allocations: 0.9215 MB / 0.9558 GB, free: 112 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/1.081, allocations: 0.8272 MB / 0.9566 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002635/1.081, allocations: 87.33 kB / 0.9567 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/1.081, allocations: 35.44 kB / 0.9567 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/1.081, allocations: 0 / 0.9567 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of Templates: time 0.01625/1.098, allocations: 8.082 MB / 0.9646 GB, free: 7.188 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)