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.0008832/0.0008835, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009729/0.0009729, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 285.5 kB / 291.2 MB, free: 1.891 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7537/0.7537, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 13.56 kB / 0.5683 GB, free: 38.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 83.09 MB / 0.6494 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.4294/0.5637, allocations: 145.2 MB / 0.7912 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.5669, allocations: 2.311 MB / 0.7935 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.5672, allocations: 12.16 kB / 0.7935 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.5679, allocations: 233.9 kB / 0.7937 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.5697, allocations: 0.7785 MB / 0.7945 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.5712, allocations: 0.5422 MB / 0.795 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.572, allocations: 0.5867 MB / 0.7956 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.5724, allocations: 260 kB / 0.7958 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008322/0.5733, allocations: 461 kB / 0.7963 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.5735, allocations: 219.7 kB / 0.7965 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.5736, allocations: 18.75 kB / 0.7965 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5747, allocations: 0.4917 MB / 0.797 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5748, allocations: 123.5 kB / 0.7971 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.575, allocations: 111.2 kB / 0.7972 GB, free: 18.02 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.5757, allocations: 0.5135 MB / 0.7977 GB, free: 17.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.5757, allocations: 0 / 0.7977 GB, free: 17.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.073e-06/0.5757, allocations: 0 / 0.7977 GB, free: 17.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5757, allocations: 1.125 kB / 0.7977 GB, free: 17.98 MB / 0.5763 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.001014/0.5767, allocations: 0.7247 MB / 0.7984 GB, free: 17.45 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5768, allocations: 9.125 kB / 0.7984 GB, free: 17.45 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.578, allocations: 192.3 kB / 0.7986 GB, free: 17.42 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.5785, allocations: 361 kB / 0.7989 GB, free: 17.18 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.5785, allocations: 22.88 kB / 0.799 GB, free: 17.18 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.5785, allocations: 30.75 kB / 0.799 GB, free: 17.18 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.5791, allocations: 371.7 kB / 0.7993 GB, free: 17.08 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5791, allocations: 2.906 kB / 0.7993 GB, free: 17.08 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.5792, allocations: 18.67 kB / 0.7994 GB, free: 17.08 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5792, allocations: 9.375 kB / 0.7994 GB, free: 17.08 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.5797, allocations: 274.9 kB / 0.7996 GB, free: 17.07 MB / 0.5763 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.001582/0.5813, allocations: 1.659 MB / 0.8013 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.5816, allocations: 222.5 kB / 0.8015 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007818/0.5824, allocations: 0.7151 MB / 0.8022 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5825, allocations: 38.73 kB / 0.8022 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.5825, allocations: 3.938 kB / 0.8022 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of matching and sorting (n=23): time 0.0008285/0.5833, allocations: 365.3 kB / 0.8026 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.5834, allocations: 59.8 kB / 0.8026 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.5838, allocations: 420 kB / 0.803 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5838, allocations: 29.67 kB / 0.803 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5839, allocations: 219.8 kB / 0.8032 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.584, allocations: 82.77 kB / 0.8033 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.584, allocations: 4.344 kB / 0.8033 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5841, allocations: 350.4 kB / 0.8037 GB, free: 14.37 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.5843, allocations: 83.59 kB / 0.8037 GB, free: 14.37 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.5845, allocations: 125.3 kB / 0.8039 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5847, allocations: 102.3 kB / 0.804 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5847, allocations: 0 / 0.804 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004735/0.5852, allocations: 294 kB / 0.8042 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5852, allocations: 5.281 kB / 0.8042 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.5852, allocations: 5.109 kB / 0.8043 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5852, allocations: 2.406 kB / 0.8043 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5855, allocations: 57.72 kB / 0.8043 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5855, allocations: 5.469 kB / 0.8043 GB, free: 14.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.5857, allocations: 42.52 kB / 0.8044 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.5857, allocations: 9.391 kB / 0.8044 GB, free: 14.25 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.5859, allocations: 161.6 kB / 0.8045 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.586, allocations: 40.25 kB / 0.8046 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.5865, allocations: 304.6 kB / 0.8048 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5865, allocations: 6.797 kB / 0.8049 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5865, allocations: 0 / 0.8049 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5865, allocations: 1.062 kB / 0.8049 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.5876, allocations: 0.8214 MB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5876, allocations: 2.281 kB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.5879, allocations: 45.33 kB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5879, allocations: 3.656 kB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5879, allocations: 7.5 kB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5879, allocations: 5.734 kB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5879, allocations: 2.625 kB / 0.8057 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.5887, allocations: 0.598 MB / 0.8063 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.5889, allocations: 141.7 kB / 0.8064 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.5889, allocations: 11.03 kB / 0.8064 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.5892, allocations: 23.19 kB / 0.8065 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.5893, allocations: 30.11 kB / 0.8065 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.5893, allocations: 10.88 kB / 0.8065 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000359/0.5897, allocations: 294.5 kB / 0.8068 GB, free: 13.17 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5897, allocations: 0.625 kB / 0.8068 GB, free: 13.17 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004664/0.5901, allocations: 120.5 kB / 0.8069 GB, free: 13.15 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003384/0.5905, allocations: 190.1 kB / 0.8071 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.5909, allocations: 218.5 kB / 0.8073 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5909, allocations: 0 / 0.8073 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.5911, allocations: 116.6 kB / 0.8074 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.5921, allocations: 213.8 kB / 0.8076 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5935, allocations: 1.082 MB / 0.8087 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.5939, allocations: 0.8373 MB / 0.8095 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00025/0.5941, allocations: 93.61 kB / 0.8096 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.5942, allocations: 35.62 kB / 0.8096 GB, free: 11.65 MB / 0.5763 GB Notification: Performance of SimCode: time 1.403e-06/0.5942, allocations: 0 / 0.8096 GB, free: 11.65 MB / 0.5763 GB Notification: Performance of Templates: time 0.01212/0.6063, allocations: 7.401 MB / 0.8168 GB, free: 11.23 MB / 0.5763 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: