Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8528/0.8529, allocations: 133.5 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009121/0.0009122, allocations: 100.6 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.29e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4619, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.199/5.661, allocations: 1.832 GB / 2.466 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.661, allocations: 83.95 kB / 2.466 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3622/6.023, allocations: 197.1 MB / 2.658 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.132e-06/6.023, allocations: 0 / 2.658 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.138e-05/6.023, allocations: 8 kB / 2.658 GB, free: 6.215 MB / 0.6823 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.001102/6.024, allocations: 0.631 MB / 2.659 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/6.024, allocations: 12.03 kB / 2.659 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/6.025, allocations: 71.56 kB / 2.659 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/6.025, allocations: 309.8 kB / 2.659 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/6.025, allocations: 8 kB / 2.659 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/6.025, allocations: 15.98 kB / 2.659 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002438/6.025, allocations: 148.8 kB / 2.659 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/6.026, allocations: 231.4 kB / 2.66 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/6.026, allocations: 4 kB / 2.66 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/6.026, allocations: 4 kB / 2.66 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/6.026, allocations: 4 kB / 2.66 GB, free: 4.684 MB / 0.6823 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.00117/6.027, allocations: 1.19 MB / 2.661 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/6.027, allocations: 134.5 kB / 2.661 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/6.027, allocations: 80.8 kB / 2.661 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/6.028, allocations: 299.2 kB / 2.661 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/6.028, allocations: 42.56 kB / 2.661 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/6.028, allocations: 3.938 kB / 2.661 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0009914/6.029, allocations: 293 kB / 2.662 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/6.029, allocations: 55.41 kB / 2.662 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/6.029, allocations: 184.5 kB / 2.662 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/6.029, allocations: 25.7 kB / 2.662 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/6.029, allocations: 175.9 kB / 2.662 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/6.029, allocations: 39.36 kB / 2.662 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/6.029, allocations: 0 / 2.662 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/6.029, allocations: 334.8 kB / 2.662 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/6.029, allocations: 51.98 kB / 2.663 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/6.029, allocations: 116.7 kB / 2.663 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/6.029, allocations: 99.8 kB / 2.663 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/6.029, allocations: 3.953 kB / 2.663 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007422/6.03, allocations: 286 kB / 2.663 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/6.03, allocations: 4 kB / 2.663 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/6.03, allocations: 0 / 2.663 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/6.031, allocations: 92.83 kB / 2.663 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/6.031, allocations: 47.97 kB / 2.663 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.514/6.545, allocations: 1.494 MB / 2.665 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/6.545, allocations: 37.12 kB / 2.665 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/6.545, allocations: 9.016 kB / 2.665 GB, free: 195.5 MB / 0.6823 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 9.483e-05/6.546, allocations: 110.1 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009197/6.546, allocations: 273.3 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/6.547, allocations: 18.94 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/6.547, allocations: 308.6 kB / 2.665 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/6.547, allocations: 1.75 kB / 2.665 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/6.547, allocations: 1.5 kB / 2.665 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/6.547, allocations: 2.484 kB / 2.665 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/6.549, allocations: 0.6734 MB / 2.666 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/6.549, allocations: 1.844 kB / 2.666 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/6.549, allocations: 40.95 kB / 2.666 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005309/6.55, allocations: 88.17 kB / 2.666 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/6.55, allocations: 5.875 kB / 2.666 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/6.552, allocations: 1.522 MB / 2.668 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/6.552, allocations: 2.438 kB / 2.668 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/6.552, allocations: 431.3 kB / 2.668 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/6.553, allocations: 114 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/6.553, allocations: 4.062 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/6.553, allocations: 32.86 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/6.553, allocations: 20.16 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/6.553, allocations: 5.969 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001674/6.553, allocations: 146.1 kB / 2.668 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/6.553, allocations: 1.688 kB / 2.668 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007582/6.554, allocations: 143.1 kB / 2.668 GB, free: 193.4 MB / 0.6823 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.003154/6.557, allocations: 2.138 MB / 2.671 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007239/6.558, allocations: 269 kB / 2.671 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/6.558, allocations: 0 / 2.671 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/6.558, allocations: 210.1 kB / 2.671 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/6.559, allocations: 90.61 kB / 2.671 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/6.56, allocations: 421.6 kB / 2.672 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/6.56, allocations: 0.7782 MB / 2.672 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002505/6.561, allocations: 49.88 kB / 2.672 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/6.561, allocations: 76.28 kB / 2.672 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of SimCode: time 4.31e-07/6.561, allocations: 0 / 2.672 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/6.601, allocations: 13.87 MB / 2.686 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/6.601, allocations: 153.3 kB / 2.686 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/8.936, allocations: 0 / 2.686 GB, free: 190.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)