Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_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.00131/0.00131, allocations: 177.5 kB / 7.648 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.874/0.874, allocations: 133.5 MB / 141.6 MB, free: 2.883 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.579/1.579, allocations: 221.5 MB / 395.5 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.001014/0.001014, allocations: 100 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.829e-05, allocations: 12 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4799, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/5.375, allocations: 1.832 GB / 2.466 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/5.375, allocations: 87.95 kB / 2.466 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4704/5.845, allocations: 197.1 MB / 2.658 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/5.846, allocations: 0 / 2.658 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.022e-05/5.846, allocations: 8 kB / 2.658 GB, free: 6.395 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.001287/5.847, allocations: 0.6387 MB / 2.659 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/5.847, allocations: 8.031 kB / 2.659 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/5.848, allocations: 75.56 kB / 2.659 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/5.848, allocations: 309.8 kB / 2.659 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/5.848, allocations: 11.98 kB / 2.659 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/5.848, allocations: 12 kB / 2.659 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002872/5.848, allocations: 144.8 kB / 2.659 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/5.849, allocations: 243.4 kB / 2.66 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/5.849, allocations: 4 kB / 2.66 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/5.849, allocations: 4 kB / 2.66 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/5.849, allocations: 4 kB / 2.66 GB, free: 4.848 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.001356/5.85, allocations: 1.19 MB / 2.661 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/5.85, allocations: 134.5 kB / 2.661 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/5.85, allocations: 80.8 kB / 2.661 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/5.851, allocations: 299.2 kB / 2.661 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/5.851, allocations: 34.56 kB / 2.661 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/5.851, allocations: 4 kB / 2.661 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.001067/5.852, allocations: 290.3 kB / 2.662 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/5.852, allocations: 51.41 kB / 2.662 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/5.852, allocations: 184.5 kB / 2.662 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/5.852, allocations: 25.7 kB / 2.662 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/5.852, allocations: 175.9 kB / 2.662 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/5.852, allocations: 43.36 kB / 2.662 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/5.852, allocations: 0 / 2.662 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/5.852, allocations: 334.8 kB / 2.662 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/5.853, allocations: 55.98 kB / 2.663 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/5.853, allocations: 108.7 kB / 2.663 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/5.853, allocations: 103.9 kB / 2.663 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/5.853, allocations: 3.953 kB / 2.663 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008042/5.854, allocations: 289.2 kB / 2.663 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/5.854, allocations: 4 kB / 2.663 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/5.854, allocations: 0 / 2.663 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/5.854, allocations: 88.8 kB / 2.663 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/5.855, allocations: 51.91 kB / 2.663 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5007/6.355, allocations: 1.488 MB / 2.665 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/6.356, allocations: 38.81 kB / 2.665 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/6.356, allocations: 12.03 kB / 2.665 GB, free: 195.6 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 0.000105/6.356, allocations: 106.7 kB / 2.665 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000982/6.357, allocations: 272.3 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/6.357, allocations: 21.28 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/6.358, allocations: 306.9 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/6.358, allocations: 1.688 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/6.358, allocations: 0 / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/6.358, allocations: 2.203 kB / 2.665 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/6.359, allocations: 0.6653 MB / 2.666 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/6.359, allocations: 3.734 kB / 2.666 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/6.36, allocations: 47.25 kB / 2.666 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/6.36, allocations: 85.69 kB / 2.666 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/6.36, allocations: 4.312 kB / 2.666 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/6.362, allocations: 1.522 MB / 2.668 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/6.362, allocations: 2.312 kB / 2.668 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/6.363, allocations: 434.8 kB / 2.668 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/6.363, allocations: 121.7 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/6.363, allocations: 2.141 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/6.364, allocations: 33.56 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/6.364, allocations: 19.55 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/6.364, allocations: 8.438 kB / 2.668 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001777/6.364, allocations: 149.5 kB / 2.668 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/6.364, allocations: 0 / 2.668 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007703/6.365, allocations: 136.6 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.003375/6.368, allocations: 2.135 MB / 2.671 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008329/6.369, allocations: 268.8 kB / 2.671 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/6.369, allocations: 0.6562 kB / 2.671 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/6.37, allocations: 211.3 kB / 2.671 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/6.37, allocations: 95.52 kB / 2.671 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/6.371, allocations: 415 kB / 2.672 GB, free: 192 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/6.372, allocations: 0.7794 MB / 2.672 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002479/6.372, allocations: 52.66 kB / 2.672 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/6.372, allocations: 73.12 kB / 2.672 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/6.372, allocations: 0 / 2.672 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/6.413, 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.0001798/6.413, allocations: 157.8 kB / 2.686 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/8.728, allocations: 4.656 kB / 2.686 GB, free: 190.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)