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.001072/0.001072, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7243/0.7243, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.3 MB / 400.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009029, allocations: 86.3 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.202e-05, allocations: 3.656 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.074/5.214, allocations: 1.832 GB / 2.473 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/5.214, allocations: 83.77 kB / 2.473 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9134/6.128, allocations: 199.7 MB / 2.668 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/6.128, allocations: 0 / 2.668 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.735e-05/6.128, allocations: 11.98 kB / 2.668 GB, free: 142.8 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.001475/6.129, allocations: 0.6465 MB / 2.669 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/6.129, allocations: 12.03 kB / 2.669 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/6.129, allocations: 54.53 kB / 2.669 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/6.13, allocations: 67.58 kB / 2.669 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/6.131, allocations: 299.6 kB / 2.669 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/6.131, allocations: 20.38 kB / 2.669 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/6.131, allocations: 16 kB / 2.669 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/6.131, allocations: 272.8 kB / 2.669 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/6.131, allocations: 7.891 kB / 2.669 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/6.131, allocations: 8 kB / 2.669 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/6.131, allocations: 4 kB / 2.669 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/6.131, allocations: 165 kB / 2.67 GB, free: 141.2 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.00157/6.133, allocations: 1.26 MB / 2.671 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/6.133, allocations: 126.6 kB / 2.671 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/6.133, allocations: 87.2 kB / 2.671 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/6.134, allocations: 303.2 kB / 2.671 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/6.134, allocations: 38.56 kB / 2.671 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/6.134, allocations: 0 / 2.671 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0009806/6.135, allocations: 270.3 kB / 2.672 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/6.135, allocations: 55.41 kB / 2.672 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/6.135, allocations: 219.2 kB / 2.672 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/6.135, allocations: 37.64 kB / 2.672 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/6.135, allocations: 164.1 kB / 2.672 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/6.135, allocations: 55.3 kB / 2.672 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/6.135, allocations: 4 kB / 2.672 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/6.135, allocations: 330.8 kB / 2.672 GB, free: 138 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/6.135, allocations: 59.98 kB / 2.672 GB, free: 138 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/6.136, allocations: 115.9 kB / 2.673 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/6.136, allocations: 67.97 kB / 2.673 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/6.136, allocations: 0 / 2.673 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007497/6.137, allocations: 280.8 kB / 2.673 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/6.137, allocations: 8 kB / 2.673 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/6.137, allocations: 0 / 2.673 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/6.137, allocations: 92.89 kB / 2.673 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/6.137, allocations: 51.89 kB / 2.673 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/6.139, allocations: 1.568 MB / 2.675 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/6.139, allocations: 47.88 kB / 2.675 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/6.14, allocations: 11.94 kB / 2.675 GB, free: 135.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 8.462e-05/6.14, allocations: 112.9 kB / 2.675 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/6.14, allocations: 31.66 kB / 2.675 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/6.14, allocations: 289 kB / 2.675 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/6.14, allocations: 0 / 2.675 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/6.14, allocations: 4 kB / 2.675 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/6.14, allocations: 0 / 2.675 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/6.142, allocations: 0.6966 MB / 2.676 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/6.142, allocations: 3.953 kB / 2.676 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/6.142, allocations: 43.95 kB / 2.676 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/6.142, allocations: 88.86 kB / 2.676 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/6.142, allocations: 8 kB / 2.676 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/6.144, allocations: 1.593 MB / 2.677 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/6.144, allocations: 0 / 2.677 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/6.145, allocations: 421.8 kB / 2.678 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/6.145, allocations: 116.8 kB / 2.678 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/6.145, allocations: 7.953 kB / 2.678 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/6.145, allocations: 35.91 kB / 2.678 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/6.145, allocations: 23.97 kB / 2.678 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/6.145, allocations: 4 kB / 2.678 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001414/6.145, allocations: 183.1 kB / 2.678 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/6.145, allocations: 0 / 2.678 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007528/6.146, allocations: 163.8 kB / 2.678 GB, free: 131.5 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.002229/6.148, allocations: 1.996 MB / 2.68 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00063/6.149, allocations: 278.9 kB / 2.681 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/6.149, allocations: 0 / 2.681 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/6.149, allocations: 219 kB / 2.681 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/6.15, allocations: 118.9 kB / 2.681 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/6.151, allocations: 445.5 kB / 2.681 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/6.151, allocations: 0.7718 MB / 2.682 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002339/6.151, allocations: 50.05 kB / 2.682 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/6.152, allocations: 75.41 kB / 2.682 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/6.152, allocations: 0 / 2.682 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/6.195, allocations: 25.14 MB / 2.707 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/6.195, allocations: 210.2 kB / 2.707 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/8.824, allocations: 64 / 2.707 GB, free: 102.2 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)