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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8347/0.8347, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001041/0.001041, allocations: 187.8 kB / 182.2 MB, free: 9.453 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.46/1.46, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009716/0.0009717, allocations: 84.06 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 282.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.332e-05, allocations: 8 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4446, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.324/4.769, allocations: 1.829 GB / 2.587 GB, free: 230.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/4.769, allocations: 83.95 kB / 2.587 GB, free: 230.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4549/5.224, allocations: 197.2 MB / 2.779 GB, free: 29.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/5.224, allocations: 4 kB / 2.779 GB, free: 29.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.048e-05/5.224, allocations: 4 kB / 2.779 GB, free: 29.65 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.001022/5.225, allocations: 0.6388 MB / 2.78 GB, free: 28.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/5.225, allocations: 8.031 kB / 2.78 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/5.226, allocations: 75.56 kB / 2.78 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/5.226, allocations: 297.8 kB / 2.78 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/5.226, allocations: 15.94 kB / 2.78 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/5.226, allocations: 12 kB / 2.78 GB, free: 28.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002525/5.226, allocations: 152.8 kB / 2.78 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/5.227, allocations: 235.4 kB / 2.781 GB, free: 28.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/5.227, allocations: 0 / 2.781 GB, free: 28.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/5.227, allocations: 0 / 2.781 GB, free: 28.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/5.227, allocations: 7.984 kB / 2.781 GB, free: 28.11 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.001179/5.228, allocations: 1.202 MB / 2.782 GB, free: 26.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/5.228, allocations: 122.6 kB / 2.782 GB, free: 26.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/5.228, allocations: 76.83 kB / 2.782 GB, free: 26.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/5.229, allocations: 303.2 kB / 2.782 GB, free: 26.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/5.229, allocations: 38.56 kB / 2.782 GB, free: 26.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/5.229, allocations: 0 / 2.782 GB, free: 26.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001048/5.23, allocations: 298.2 kB / 2.783 GB, free: 25.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/5.23, allocations: 51.41 kB / 2.783 GB, free: 25.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/5.23, allocations: 180.5 kB / 2.783 GB, free: 25.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/5.23, allocations: 33.64 kB / 2.783 GB, free: 25.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/5.23, allocations: 172 kB / 2.783 GB, free: 25.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/5.23, allocations: 47.27 kB / 2.783 GB, free: 25.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/5.23, allocations: 0 / 2.783 GB, free: 25.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/5.23, allocations: 330.8 kB / 2.783 GB, free: 25.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/5.23, allocations: 51.98 kB / 2.784 GB, free: 25.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/5.23, allocations: 124 kB / 2.784 GB, free: 24.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/5.231, allocations: 91.92 kB / 2.784 GB, free: 24.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/5.231, allocations: 0 / 2.784 GB, free: 24.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007595/5.231, allocations: 290 kB / 2.784 GB, free: 24.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/5.231, allocations: 4 kB / 2.784 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/5.231, allocations: 4 kB / 2.784 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/5.232, allocations: 88.88 kB / 2.784 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/5.232, allocations: 59.91 kB / 2.784 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/5.234, allocations: 1.492 MB / 2.786 GB, free: 22.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/5.234, allocations: 43.91 kB / 2.786 GB, free: 22.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/5.234, allocations: 8 kB / 2.786 GB, free: 22.67 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 7.317e-05/5.234, allocations: 112.9 kB / 2.786 GB, free: 22.55 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007448/5.235, allocations: 266.1 kB / 2.786 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/5.235, allocations: 23.72 kB / 2.786 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/5.236, allocations: 304.2 kB / 2.786 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/5.236, allocations: 0 / 2.786 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.91e-07/5.236, allocations: 0 / 2.786 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/5.236, allocations: 0 / 2.786 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/5.237, allocations: 0.6659 MB / 2.787 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/5.237, allocations: 4 kB / 2.787 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/5.237, allocations: 59.92 kB / 2.787 GB, free: 21.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/5.237, allocations: 84.77 kB / 2.787 GB, free: 21.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/5.237, allocations: 4 kB / 2.787 GB, free: 21.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/5.239, allocations: 1.52 MB / 2.789 GB, free: 19.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/5.239, allocations: 4.062 kB / 2.789 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/5.239, allocations: 437.3 kB / 2.789 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/5.239, allocations: 116.8 kB / 2.789 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/5.24, allocations: 0 / 2.789 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/5.24, allocations: 35.91 kB / 2.789 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/5.24, allocations: 15.97 kB / 2.789 GB, free: 18.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/5.24, allocations: 12 kB / 2.789 GB, free: 18.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.366e-05/5.24, allocations: 144.5 kB / 2.789 GB, free: 18.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.24, allocations: 0 / 2.789 GB, free: 18.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000537/5.241, allocations: 139.8 kB / 2.789 GB, free: 18.49 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.002015/5.243, allocations: 2.136 MB / 2.792 GB, free: 16.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004968/5.243, allocations: 269.9 kB / 2.792 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/5.243, allocations: 0 / 2.792 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/5.243, allocations: 205.6 kB / 2.792 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/5.244, allocations: 89.64 kB / 2.792 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/5.245, allocations: 414.5 kB / 2.792 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/5.245, allocations: 0.7796 MB / 2.793 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001775/5.245, allocations: 42.05 kB / 2.793 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/5.245, allocations: 83.41 kB / 2.793 GB, free: 14.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/5.245, allocations: 0 / 2.793 GB, free: 14.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/5.278, allocations: 13.89 MB / 2.807 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/5.278, allocations: 182.8 kB / 2.807 GB, free: 332 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/7.549, allocations: 0 / 2.807 GB, free: 332 kB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)