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.001129/0.001129, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001143/0.001143, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 298.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3964, allocations: 86.98 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1701/0.5665, allocations: 173.8 MB / 0.9368 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.5705, allocations: 2.309 MB / 0.939 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.571, allocations: 11.94 kB / 0.939 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.5718, allocations: 238.3 kB / 0.9393 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.5742, allocations: 0.9645 MB / 0.9402 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.5763, allocations: 0.8339 MB / 0.941 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.5778, allocations: 0.9702 MB / 0.942 GB, free: 68 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/0.5784, allocations: 341.5 kB / 0.9423 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008604/0.5793, allocations: 462.4 kB / 0.9427 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.5798, allocations: 314.7 kB / 0.943 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.5799, allocations: 32 kB / 0.9431 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.5817, allocations: 0.9976 MB / 0.944 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.5819, allocations: 155.5 kB / 0.9442 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.5822, allocations: 230.9 kB / 0.9444 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.5838, allocations: 0.9076 MB / 0.9453 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5838, allocations: 4 kB / 0.9453 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5838, allocations: 0 / 0.9453 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.5838, allocations: 4 kB / 0.9453 GB, free: 12.64 MB / 0.7169 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.001392/0.5852, allocations: 0.7982 MB / 0.9461 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5853, allocations: 16.03 kB / 0.9461 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.5866, allocations: 187.2 kB / 0.9463 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.5873, allocations: 389.3 kB / 0.9466 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.5873, allocations: 28.59 kB / 0.9467 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.5873, allocations: 28 kB / 0.9467 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.588, allocations: 373.1 kB / 0.9471 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.588, allocations: 3.938 kB / 0.9471 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.588, allocations: 12 kB / 0.9471 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.5881, allocations: 15.94 kB / 0.9471 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.5886, allocations: 258 kB / 0.9473 GB, free: 10.45 MB / 0.7169 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.001837/0.5904, allocations: 1.668 MB / 0.949 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.5908, allocations: 206.6 kB / 0.9492 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.5911, allocations: 116.7 kB / 0.9493 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009865/0.5921, allocations: 0.8662 MB / 0.9501 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.5921, allocations: 46.48 kB / 0.9502 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.5921, allocations: 0 / 0.9502 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0009113/0.593, allocations: 356.6 kB / 0.9505 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.5931, allocations: 59.39 kB / 0.9506 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.5935, allocations: 418 kB / 0.951 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.5936, allocations: 37.7 kB / 0.951 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.5937, allocations: 212.3 kB / 0.9512 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.5938, allocations: 78.77 kB / 0.9513 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.5939, allocations: 49.7 kB / 0.9513 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.594, allocations: 358.7 kB / 0.9517 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5942, allocations: 75.95 kB / 0.9517 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.5944, allocations: 131.3 kB / 0.9519 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5948, allocations: 207.7 kB / 0.9521 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5948, allocations: 0 / 0.9521 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005223/0.5953, allocations: 284.9 kB / 0.9523 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5954, allocations: 4 kB / 0.9523 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5954, allocations: 7.938 kB / 0.9523 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5954, allocations: 0 / 0.9523 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.5957, allocations: 55.91 kB / 0.9524 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5957, allocations: 4 kB / 0.9524 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.5959, allocations: 35.61 kB / 0.9524 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5959, allocations: 8 kB / 0.9524 GB, free: 4.801 MB / 0.7169 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.0001622/0.5961, allocations: 168.2 kB / 0.9526 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.5962, allocations: 39.53 kB / 0.9526 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.5968, allocations: 293 kB / 0.9529 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5968, allocations: 3.984 kB / 0.9529 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5968, allocations: 4 kB / 0.9529 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.597, allocations: 132.5 kB / 0.953 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.597, allocations: 8 kB / 0.9531 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.5973, allocations: 15.97 kB / 0.9531 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5974, allocations: 15.98 kB / 0.9531 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006595/0.598, allocations: 338.4 kB / 0.9534 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000765/0.5988, allocations: 0.5448 MB / 0.9539 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002093/0.599, allocations: 104.4 kB / 0.954 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002878/0.5993, allocations: 307.1 kB / 0.9543 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of Backend: time 4.21e-07/0.5993, allocations: 0 / 0.9543 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.6006, allocations: 436.4 kB / 0.9547 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00198/0.6026, allocations: 1.444 MB / 0.9562 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of Templates: time 0.3294/0.9319, allocations: 10.26 MB / 0.9662 GB, free: 189.1 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)