Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008204/0.0008204, 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.0008551/0.0008552, 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.146/1.146, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001626/0.001626, allocations: 278.7 kB / 291.3 MB, free: 1.781 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.7184/0.7184, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 12.95 kB / 0.5683 GB, free: 38.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 83.09 MB / 0.6494 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.391/0.5168, allocations: 138.5 MB / 0.7847 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.5188, allocations: 1.547 MB / 0.7862 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.5189, allocations: 6.438 kB / 0.7862 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.5194, allocations: 178.7 kB / 0.7864 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.52, allocations: 352.4 kB / 0.7867 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.521, allocations: 492.3 kB / 0.7872 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.5215, allocations: 410.2 kB / 0.7876 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.5218, allocations: 205.2 kB / 0.7878 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005659/0.5223, allocations: 337.5 kB / 0.7881 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.5225, allocations: 151.5 kB / 0.7883 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.5226, allocations: 16.44 kB / 0.7883 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006932/0.5233, allocations: 416.3 kB / 0.7887 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.5234, allocations: 93.42 kB / 0.7888 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.5234, allocations: 81.08 kB / 0.7888 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.5239, allocations: 394.3 kB / 0.7892 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.5239, allocations: 0 / 0.7892 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5239, allocations: 0 / 0.7892 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.5239, allocations: 4 kB / 0.7892 GB, free: 2.145 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008594/0.5248, allocations: 0.6165 MB / 0.7898 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.542e-05/0.5248, allocations: 8.812 kB / 0.7898 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.5253, allocations: 87.86 kB / 0.7899 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.5256, allocations: 286 kB / 0.7902 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5257, allocations: 22.2 kB / 0.7902 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.5257, allocations: 23.31 kB / 0.7902 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.5263, allocations: 343.4 kB / 0.7905 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.5264, allocations: 6.906 kB / 0.7906 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.5264, allocations: 12.66 kB / 0.7906 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5264, allocations: 5.031 kB / 0.7906 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.5271, allocations: 312.2 kB / 0.7909 GB, free: 17.36 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.001493/0.5286, allocations: 1.08 MB / 0.7919 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.5295, allocations: 355.3 kB / 0.7923 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.5299, allocations: 232.2 kB / 0.7925 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5299, allocations: 36.39 kB / 0.7925 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.53, allocations: 0 / 0.7925 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001135/0.5311, allocations: 450.8 kB / 0.793 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.5311, allocations: 54.3 kB / 0.793 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.5314, allocations: 266 kB / 0.7933 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.5314, allocations: 30.95 kB / 0.7933 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.5315, allocations: 174.7 kB / 0.7935 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.5316, allocations: 62.89 kB / 0.7935 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.5316, allocations: 5.219 kB / 0.7935 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5317, allocations: 336.4 kB / 0.7938 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.532, allocations: 116.5 kB / 0.7939 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.5323, allocations: 184.7 kB / 0.7941 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.5326, allocations: 134.4 kB / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5326, allocations: 5.438 kB / 0.7943 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006967/0.5333, allocations: 355.5 kB / 0.7946 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5333, allocations: 6.719 kB / 0.7946 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.5333, allocations: 4.062 kB / 0.7946 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5334, allocations: 5.234 kB / 0.7946 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.5336, allocations: 70.77 kB / 0.7947 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5336, allocations: 2.094 kB / 0.7947 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.5339, allocations: 60.81 kB / 0.7947 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5339, allocations: 7.531 kB / 0.7947 GB, free: 15.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * 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.0001367/0.5341, allocations: 152.4 kB / 0.7949 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.5341, allocations: 30.2 kB / 0.7949 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007089/0.5348, allocations: 350.2 kB / 0.7953 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5349, allocations: 1.812 kB / 0.7953 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5349, allocations: 5.984 kB / 0.7953 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5349, allocations: 0 / 0.7953 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.5363, allocations: 0.9677 MB / 0.7962 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5363, allocations: 3.594 kB / 0.7962 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5366, allocations: 65.33 kB / 0.7963 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5366, allocations: 3.938 kB / 0.7963 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.5366, allocations: 5 kB / 0.7963 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5366, allocations: 4.016 kB / 0.7963 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5366, allocations: 5.625 kB / 0.7963 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.5377, allocations: 0.6873 MB / 0.797 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.5378, allocations: 129.6 kB / 0.7971 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5379, allocations: 6.812 kB / 0.7971 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.5381, allocations: 39.22 kB / 0.7971 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.5382, allocations: 22.05 kB / 0.7972 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.5382, allocations: 7.781 kB / 0.7972 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001558/0.5384, allocations: 196.7 kB / 0.7973 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.22e-07/0.5384, allocations: 0 / 0.7973 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004129/0.5388, allocations: 110.4 kB / 0.7975 GB, free: 14.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0003588/0.5392, allocations: 195.5 kB / 0.7976 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006604/0.5399, allocations: 275.1 kB / 0.7979 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5399, allocations: 4.875 kB / 0.7979 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.5402, allocations: 153.3 kB / 0.7981 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.5408, allocations: 120.3 kB / 0.7982 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.5417, allocations: 0.7228 MB / 0.7989 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.542, allocations: 0.7883 MB / 0.7996 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000226/0.5423, allocations: 68.5 kB / 0.7997 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.5423, allocations: 24.09 kB / 0.7997 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5424, allocations: 0.7812 kB / 0.7997 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.00823/0.5506, allocations: 5.236 MB / 0.8048 GB, free: 12.72 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: