Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 100.1 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.0008635/0.0008636, allocations: 177.3 kB / 15.95 MB, free: 216 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.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001587/0.001587, allocations: 270.7 kB / 291.3 MB, free: 1.984 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.7789/0.7789, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004573, allocations: 15.92 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 83.08 MB / 0.6494 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.4595/0.5959, allocations: 179.1 MB / 0.8243 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.6148, allocations: 21.66 MB / 0.8455 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6162, allocations: 26.41 kB / 0.8455 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.6184, allocations: 0.9845 MB / 0.8465 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006893/0.6253, allocations: 2.878 MB / 0.8493 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.6274, allocations: 0.836 MB / 0.8501 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.6305, allocations: 2.275 MB / 0.8523 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6318, allocations: 1.193 MB / 0.8535 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.6349, allocations: 1.784 MB / 0.8552 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.6361, allocations: 0.9569 MB / 0.8562 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.6362, allocations: 71 kB / 0.8562 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.6387, allocations: 1.045 MB / 0.8573 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.6392, allocations: 0.751 MB / 0.858 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.6396, allocations: 458.2 kB / 0.8584 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.6414, allocations: 2.106 MB / 0.8605 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.6414, allocations: 0 / 0.8605 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6415, allocations: 0 / 0.8605 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.6415, allocations: 6.969 kB / 0.8605 GB, free: 14.52 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003307/0.6448, allocations: 2.47 MB / 0.8629 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.6448, allocations: 8.094 kB / 0.8629 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.6463, allocations: 450 kB / 0.8633 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.6491, allocations: 2.635 MB / 0.8659 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.6491, allocations: 96.09 kB / 0.866 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6493, allocations: 132.2 kB / 0.8661 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.6511, allocations: 1.577 MB / 0.8677 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.6511, allocations: 13.81 kB / 0.8677 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.6512, allocations: 56.41 kB / 0.8677 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.6513, allocations: 95.09 kB / 0.8678 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.6527, allocations: 1.062 MB / 0.8689 GB, free: 11.1 MB / 0.5762 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.006698/0.6594, allocations: 8.444 MB / 0.8771 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.6602, allocations: 0.7245 MB / 0.8778 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.6607, allocations: 0.6081 MB / 0.8784 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.6607, allocations: 45.22 kB / 0.8785 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.6607, allocations: 2.688 kB / 0.8785 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=50): time 0.001333/0.6621, allocations: 0.987 MB / 0.8794 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.6621, allocations: 166.8 kB / 0.8796 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/0.6665, allocations: 4.682 MB / 0.8842 GB, free: 116 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.6666, allocations: 35.95 kB / 0.8842 GB, free: 80 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007192/0.6673, allocations: 1.071 MB / 0.8852 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.6674, allocations: 172.9 kB / 0.8854 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.6675, allocations: 11.06 kB / 0.8854 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6676, allocations: 324.4 kB / 0.8857 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.6679, allocations: 227.8 kB / 0.8859 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.6683, allocations: 321.7 kB / 0.8862 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.6687, allocations: 252.9 kB / 0.8865 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6687, allocations: 4.031 kB / 0.8865 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00105/0.6697, allocations: 0.8087 MB / 0.8873 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6698, allocations: 9.875 kB / 0.8873 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6698, allocations: 4 kB / 0.8873 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6698, allocations: 4 kB / 0.8873 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.6702, allocations: 108.2 kB / 0.8874 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6702, allocations: 10.61 kB / 0.8874 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.6711, allocations: 159.2 kB / 0.8876 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.6712, allocations: 21.31 kB / 0.8876 GB, free: 13.56 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.000632/0.6718, allocations: 0.534 MB / 0.8881 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.6721, allocations: 229.1 kB / 0.8883 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.6732, allocations: 0.8254 MB / 0.8891 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.6732, allocations: 4 kB / 0.8891 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6733, allocations: 7.953 kB / 0.8891 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6733, allocations: 3.938 kB / 0.8891 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.6761, allocations: 2.094 MB / 0.8912 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.6761, allocations: 7.953 kB / 0.8912 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.6765, allocations: 100.6 kB / 0.8913 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.6766, allocations: 4 kB / 0.8913 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.6766, allocations: 18.48 kB / 0.8913 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.6766, allocations: 4 kB / 0.8913 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6766, allocations: 2.438 kB / 0.8913 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.6781, allocations: 1.398 MB / 0.8927 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/0.6788, allocations: 427.3 kB / 0.8931 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.679, allocations: 10.25 kB / 0.8931 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/0.6798, allocations: 92.23 kB / 0.8932 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.6799, allocations: 43.62 kB / 0.8932 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.6799, allocations: 19.23 kB / 0.8932 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003684/0.6836, allocations: 3.494 MB / 0.8967 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.142e-06/0.6836, allocations: 0 / 0.8967 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001229/0.6849, allocations: 482.4 kB / 0.8971 GB, free: 5.676 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.001186/0.6861, allocations: 0.5218 MB / 0.8976 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009131/0.687, allocations: 0.5361 MB / 0.8982 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.687, allocations: 0 / 0.8982 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.6874, allocations: 304.5 kB / 0.8984 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.6908, allocations: 0.8416 MB / 0.8993 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/0.6971, allocations: 4.886 MB / 0.904 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.6984, allocations: 1.683 MB / 0.9057 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001493/0.6999, allocations: 466.1 kB / 0.9061 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.7002, allocations: 150.7 kB / 0.9063 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.7002, allocations: 0 / 0.9063 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.04632/0.7466, allocations: 31.37 MB / 0.9369 GB, free: 14.25 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) Environment - environmentSimulation: