Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7955/0.7955, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 180.1 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009302/0.0009301, allocations: 91.47 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 278 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.961e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4361, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.311/4.748, allocations: 1.829 GB / 2.587 GB, free: 189.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/4.748, allocations: 89.89 kB / 2.587 GB, free: 189.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7554/5.503, allocations: 197.2 MB / 2.779 GB, free: 205.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/5.503, allocations: 1.203 kB / 2.779 GB, free: 205.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.739e-05/5.503, allocations: 12.59 kB / 2.779 GB, free: 205.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001568/5.505, allocations: 0.6284 MB / 2.78 GB, free: 205 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/5.505, allocations: 8.906 kB / 2.78 GB, free: 205 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/5.506, allocations: 72.89 kB / 2.78 GB, free: 205 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/5.506, allocations: 302.2 kB / 2.78 GB, free: 204.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/5.506, allocations: 5.688 kB / 2.78 GB, free: 204.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/5.506, allocations: 12.97 kB / 2.78 GB, free: 204.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003826/5.507, allocations: 150.4 kB / 2.78 GB, free: 204.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/5.507, allocations: 241.1 kB / 2.781 GB, free: 204.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/5.507, allocations: 1 kB / 2.781 GB, free: 204.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/5.507, allocations: 1.062 kB / 2.781 GB, free: 204.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/5.507, allocations: 6.094 kB / 2.781 GB, free: 204.7 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001623/5.509, allocations: 1.202 MB / 2.782 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/5.509, allocations: 121.8 kB / 2.782 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/5.509, allocations: 80.72 kB / 2.782 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/5.51, allocations: 303.5 kB / 2.782 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/5.51, allocations: 34.59 kB / 2.782 GB, free: 203.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/5.51, allocations: 0.7812 kB / 2.782 GB, free: 203.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001195/5.511, allocations: 295.1 kB / 2.783 GB, free: 203.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/5.511, allocations: 56.12 kB / 2.783 GB, free: 203.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/5.511, allocations: 181.2 kB / 2.783 GB, free: 203.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/5.511, allocations: 26.36 kB / 2.783 GB, free: 203.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/5.511, allocations: 171.8 kB / 2.783 GB, free: 203.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/5.511, allocations: 46.39 kB / 2.783 GB, free: 203.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/5.511, allocations: 0 / 2.783 GB, free: 203.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/5.511, allocations: 334.3 kB / 2.783 GB, free: 202.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/5.512, allocations: 57.34 kB / 2.783 GB, free: 202.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/5.512, allocations: 110.2 kB / 2.784 GB, free: 202.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/5.512, allocations: 103.3 kB / 2.784 GB, free: 202.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.512, allocations: 1.688 kB / 2.784 GB, free: 202.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008849/5.513, allocations: 289.5 kB / 2.784 GB, free: 202.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/5.513, allocations: 6.094 kB / 2.784 GB, free: 202.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/5.513, allocations: 1.938 kB / 2.784 GB, free: 202.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/5.514, allocations: 89.69 kB / 2.784 GB, free: 202.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/5.514, allocations: 56.89 kB / 2.784 GB, free: 202.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.516, allocations: 1.491 MB / 2.786 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/5.516, allocations: 41.81 kB / 2.786 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/5.516, allocations: 6.062 kB / 2.786 GB, free: 201.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/5.516, allocations: 108 kB / 2.786 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/5.516, allocations: 21.33 kB / 2.786 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/5.517, allocations: 301.7 kB / 2.786 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/5.517, allocations: 4.281 kB / 2.786 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/5.517, allocations: 0.5625 kB / 2.786 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/5.517, allocations: 4.578 kB / 2.786 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/5.519, allocations: 0.6758 MB / 2.787 GB, free: 201 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/5.519, allocations: 5.078 kB / 2.787 GB, free: 201 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/5.519, allocations: 43.7 kB / 2.787 GB, free: 201 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/5.519, allocations: 92.09 kB / 2.787 GB, free: 201 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/5.519, allocations: 2.531 kB / 2.787 GB, free: 201 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/5.521, allocations: 1.517 MB / 2.788 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/5.521, allocations: 1.312 kB / 2.788 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/5.522, allocations: 425.9 kB / 2.789 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/5.522, allocations: 121.9 kB / 2.789 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/5.522, allocations: 6.875 kB / 2.789 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/5.522, allocations: 31.7 kB / 2.789 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/5.523, allocations: 16.86 kB / 2.789 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/5.523, allocations: 11.38 kB / 2.789 GB, free: 199.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001284/5.523, allocations: 149.3 kB / 2.789 GB, free: 199.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.523, allocations: 0 / 2.789 GB, free: 199.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007088/5.523, allocations: 140.6 kB / 2.789 GB, free: 199.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/5.525, allocations: 1.066 MB / 2.79 GB, free: 199.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005785/5.526, allocations: 269.8 kB / 2.79 GB, free: 199.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/5.526, allocations: 0 / 2.79 GB, free: 199.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/5.526, allocations: 210.1 kB / 2.791 GB, free: 199 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/5.527, allocations: 90.5 kB / 2.791 GB, free: 199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/5.527, allocations: 333.8 kB / 2.791 GB, free: 198.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/5.527, allocations: 0.784 MB / 2.792 GB, free: 198.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001908/5.528, allocations: 43.91 kB / 2.792 GB, free: 198.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/5.528, allocations: 19 kB / 2.792 GB, free: 198.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/5.528, allocations: 0 / 2.792 GB, free: 198.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01671/5.544, allocations: 9.887 MB / 2.802 GB, free: 198 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)