Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008315, allocations: 99.55 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.0007871/0.0007871, 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.149/1.149, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 258.7 kB / 291.2 MB, free: 2.012 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.7211/0.7211, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 14.75 kB / 0.5683 GB, free: 38.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 83.09 MB / 0.6494 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3812/0.4994, allocations: 135.4 MB / 0.7817 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.5009, allocations: 0.9741 MB / 0.7826 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.501, allocations: 5.25 kB / 0.7827 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.5016, allocations: 174.5 kB / 0.7828 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008807/0.5025, allocations: 420.4 kB / 0.7832 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.5031, allocations: 272.2 kB / 0.7835 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.5034, allocations: 314.1 kB / 0.7838 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.5037, allocations: 151.9 kB / 0.7839 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.5042, allocations: 251.5 kB / 0.7842 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.5044, allocations: 106.7 kB / 0.7843 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.5044, allocations: 8.688 kB / 0.7843 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.5049, allocations: 247.4 kB / 0.7845 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.505, allocations: 73.03 kB / 0.7846 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.5052, allocations: 66.84 kB / 0.7846 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.5055, allocations: 263.4 kB / 0.7849 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.5056, allocations: 0 / 0.7849 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.103e-06/0.5056, allocations: 0 / 0.7849 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5056, allocations: 1.859 kB / 0.7849 GB, free: 18.16 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001218/0.5068, allocations: 0.5538 MB / 0.7854 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.5068, allocations: 6.844 kB / 0.7854 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.5071, allocations: 55.08 kB / 0.7855 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5074, allocations: 259.6 kB / 0.7857 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5074, allocations: 21.05 kB / 0.7858 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.5074, allocations: 12.53 kB / 0.7858 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.5079, allocations: 243.9 kB / 0.786 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5079, allocations: 7.953 kB / 0.786 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.508, allocations: 12.08 kB / 0.786 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.508, allocations: 7.203 kB / 0.786 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.5086, allocations: 259.5 kB / 0.7863 GB, free: 17.46 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.001046/0.5096, allocations: 0.7808 MB / 0.787 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.5099, allocations: 146.7 kB / 0.7872 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.51, allocations: 13.72 kB / 0.7872 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.51, allocations: 34.38 kB / 0.7872 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.51, allocations: 4 kB / 0.7872 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007921/0.5108, allocations: 319.8 kB / 0.7875 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.5109, allocations: 54.94 kB / 0.7876 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.5111, allocations: 241.3 kB / 0.7878 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.5111, allocations: 25.7 kB / 0.7878 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.5112, allocations: 135.3 kB / 0.788 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.5112, allocations: 50.58 kB / 0.788 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.5112, allocations: 0 / 0.788 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5114, allocations: 332 kB / 0.7883 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.5115, allocations: 75.12 kB / 0.7884 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.5117, allocations: 106.5 kB / 0.7885 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.5119, allocations: 84.86 kB / 0.7886 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5119, allocations: 0 / 0.7886 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004202/0.5124, allocations: 228.8 kB / 0.7888 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5124, allocations: 9.406 kB / 0.7888 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5124, allocations: 1.969 kB / 0.7888 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5124, allocations: 3.656 kB / 0.7888 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.5126, allocations: 32.67 kB / 0.7889 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.5126, allocations: 6.094 kB / 0.7889 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.5128, allocations: 24.33 kB / 0.7889 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.5128, allocations: 11.06 kB / 0.7889 GB, free: 16.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001186/0.5129, allocations: 137.9 kB / 0.789 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.513, allocations: 24.25 kB / 0.7891 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.513, allocations: 31.56 kB / 0.7891 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.513, allocations: 2.969 kB / 0.7891 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5131, allocations: 0 / 0.7891 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5131, allocations: 4.594 kB / 0.7891 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/0.514, allocations: 0.6954 MB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5141, allocations: 1.25 kB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.5142, allocations: 34.78 kB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.5142, allocations: 3.781 kB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.5143, allocations: 8.766 kB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5143, allocations: 3.516 kB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5143, allocations: 2.375 kB / 0.7898 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.5148, allocations: 450.8 kB / 0.7903 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5149, allocations: 110.4 kB / 0.7904 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.5149, allocations: 7.469 kB / 0.7904 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.5151, allocations: 14.31 kB / 0.7904 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.5152, allocations: 20.28 kB / 0.7904 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.5152, allocations: 5.156 kB / 0.7904 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001842/0.5154, allocations: 179.9 kB / 0.7906 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5154, allocations: 0 / 0.7906 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003587/0.5158, allocations: 68.47 kB / 0.7906 GB, free: 15.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * 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.000349/0.5161, allocations: 160.8 kB / 0.7908 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.5166, allocations: 183.4 kB / 0.791 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5166, allocations: 0 / 0.791 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.5168, allocations: 100.2 kB / 0.7911 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.5174, allocations: 125.5 kB / 0.7912 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.5181, allocations: 0.4937 MB / 0.7917 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5184, allocations: 0.755 MB / 0.7924 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.5186, allocations: 66.02 kB / 0.7925 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.5187, allocations: 22.23 kB / 0.7925 GB, free: 14 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.5187, allocations: 0 / 0.7925 GB, free: 14 MB / 0.5762 GB Notification: Performance of Templates: time 0.007142/0.5258, allocations: 4.067 MB / 0.7965 GB, free: 13.75 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: