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.007302/0.007302, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001406/0.001406, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002402/0.002402, allocations: 286.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7513/1.02, allocations: 173.8 MB / 0.9361 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00484/1.025, allocations: 2.299 MB / 0.9384 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008825/1.026, allocations: 15.88 kB / 0.9384 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/1.027, allocations: 230.4 kB / 0.9386 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003087/1.03, allocations: 0.9333 MB / 0.9395 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/1.033, allocations: 0.8285 MB / 0.9403 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001876/1.035, allocations: 0.9584 MB / 0.9412 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007412/1.036, allocations: 338.9 kB / 0.9416 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/1.037, allocations: 458.3 kB / 0.942 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/1.038, allocations: 314.6 kB / 0.9423 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/1.038, allocations: 32 kB / 0.9423 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/1.04, allocations: 0.9898 MB / 0.9433 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/1.04, allocations: 147.6 kB / 0.9434 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/1.041, allocations: 238.8 kB / 0.9437 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/1.043, allocations: 0.9104 MB / 0.9446 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.043, allocations: 0 / 0.9446 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.395e-06/1.043, allocations: 4 kB / 0.9446 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.32e-05/1.043, allocations: 0 / 0.9446 GB, free: 12.31 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.001726/1.045, allocations: 0.8104 MB / 0.9454 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.045, allocations: 12.03 kB / 0.9454 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.046, allocations: 175.2 kB / 0.9455 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/1.047, allocations: 389.4 kB / 0.9459 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/1.047, allocations: 28.66 kB / 0.9459 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/1.047, allocations: 28 kB / 0.946 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/1.048, allocations: 377 kB / 0.9463 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.048, allocations: 4 kB / 0.9463 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/1.048, allocations: 12 kB / 0.9463 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/1.048, allocations: 12 kB / 0.9463 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/1.049, allocations: 257.9 kB / 0.9466 GB, free: 10.12 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.002118/1.051, allocations: 1.668 MB / 0.9482 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/1.051, allocations: 214.4 kB / 0.9484 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/1.052, allocations: 112.8 kB / 0.9485 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.053, allocations: 0.8701 MB / 0.9494 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.053, allocations: 38.56 kB / 0.9494 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/1.053, allocations: 0 / 0.9494 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0009716/1.054, allocations: 358.7 kB / 0.9498 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.054, allocations: 55.41 kB / 0.9498 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/1.054, allocations: 425.9 kB / 0.9502 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.054, allocations: 37.7 kB / 0.9503 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.054, allocations: 204.3 kB / 0.9505 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/1.054, allocations: 90.69 kB / 0.9505 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.055, allocations: 49.7 kB / 0.9506 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.055, allocations: 350.7 kB / 0.9509 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/1.055, allocations: 83.94 kB / 0.951 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/1.055, allocations: 123.4 kB / 0.9511 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/1.056, allocations: 207.2 kB / 0.9513 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.056, allocations: 0 / 0.9513 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00055/1.056, allocations: 283.3 kB / 0.9516 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.056, allocations: 8 kB / 0.9516 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.056, allocations: 0 / 0.9516 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.056, allocations: 0 / 0.9516 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.056, allocations: 56.02 kB / 0.9516 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.056, allocations: 7.938 kB / 0.9517 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/1.057, allocations: 31.62 kB / 0.9517 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/1.057, allocations: 12.48 kB / 0.9517 GB, free: 4.469 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.0001928/1.057, allocations: 166.4 kB / 0.9519 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/1.057, allocations: 39.53 kB / 0.9519 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/1.058, allocations: 290.6 kB / 0.9522 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.058, allocations: 3.938 kB / 0.9522 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.058, allocations: 0 / 0.9522 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.058, allocations: 3.938 kB / 0.9522 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/1.059, allocations: 0.8059 MB / 0.953 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.059, allocations: 7.938 kB / 0.953 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/1.059, allocations: 47.91 kB / 0.953 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/1.059, allocations: 4.188 kB / 0.953 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/1.059, allocations: 8 kB / 0.953 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/1.059, allocations: 4 kB / 0.953 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.059, allocations: 5 kB / 0.953 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/1.06, allocations: 0.511 MB / 0.9535 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/1.06, allocations: 144.6 kB / 0.9537 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/1.06, allocations: 8 kB / 0.9537 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/1.061, allocations: 11.98 kB / 0.9537 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.061, allocations: 27.92 kB / 0.9537 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/1.061, allocations: 12.17 kB / 0.9537 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003237/1.061, allocations: 295.1 kB / 0.954 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 0.954 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005056/1.062, allocations: 123.8 kB / 0.9541 GB, free: 1.84 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.0005851/1.062, allocations: 194.9 kB / 0.9543 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005305/1.063, allocations: 207.7 kB / 0.9545 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.063, allocations: 64 / 0.9545 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/1.063, allocations: 118.6 kB / 0.9546 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.064, allocations: 225.3 kB / 0.9548 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.066, allocations: 0.8995 MB / 0.9557 GB, free: 180 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/1.066, allocations: 0.8272 MB / 0.9565 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003118/1.067, allocations: 87.28 kB / 0.9566 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/1.067, allocations: 35.44 kB / 0.9566 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/1.067, allocations: 0 / 0.9566 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.01559/1.082, allocations: 8.076 MB / 0.9645 GB, free: 7.262 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)