Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",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.001115/0.001115, allocations: 174.7 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.7465/0.7465, 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.478/1.478, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0008687/0.0008687, allocations: 92.06 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.574e-05, allocations: 3.906 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1678, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.931/5.099, allocations: 1.831 GB / 2.472 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/5.099, allocations: 83.95 kB / 2.472 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.856/6.956, allocations: 430 MB / 2.892 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/6.956, allocations: 0 / 2.892 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.775e-05/6.956, allocations: 23.2 kB / 2.892 GB, free: 147.2 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002699/6.959, allocations: 0.9965 MB / 2.893 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/6.959, allocations: 11.94 kB / 2.893 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/6.959, allocations: 77.55 kB / 2.893 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/6.961, allocations: 286 kB / 2.893 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/6.962, allocations: 464.9 kB / 2.894 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/6.962, allocations: 32.72 kB / 2.894 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/6.962, allocations: 44.88 kB / 2.894 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/6.963, allocations: 498.9 kB / 2.894 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/6.963, allocations: 3.469 kB / 2.894 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/6.963, allocations: 17.16 kB / 2.894 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/6.963, allocations: 17.58 kB / 2.894 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/6.964, allocations: 351.7 kB / 2.895 GB, free: 146.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.002603/6.967, allocations: 2.128 MB / 2.897 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/6.967, allocations: 323.6 kB / 2.897 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/6.967, allocations: 173.5 kB / 2.897 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/6.968, allocations: 395 kB / 2.897 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/6.968, allocations: 241.5 kB / 2.898 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.514e-06/6.968, allocations: 0 / 2.898 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.0009397/6.969, allocations: 419.2 kB / 2.898 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/6.969, allocations: 68.75 kB / 2.898 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/6.97, allocations: 427.5 kB / 2.899 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/6.97, allocations: 36.98 kB / 2.899 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/6.97, allocations: 260.3 kB / 2.899 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/6.97, allocations: 128.8 kB / 2.899 GB, free: 144 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/6.97, allocations: 8.375 kB / 2.899 GB, free: 144 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.97, allocations: 367.5 kB / 2.899 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/6.971, allocations: 144.5 kB / 2.899 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/6.971, allocations: 277.8 kB / 2.9 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/6.971, allocations: 240.1 kB / 2.9 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/6.971, allocations: 3.25 kB / 2.9 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008671/6.972, allocations: 0.5482 MB / 2.9 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/6.972, allocations: 59.12 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/6.972, allocations: 3.844 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/6.972, allocations: 3.781 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/6.973, allocations: 109.2 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/6.973, allocations: 8.844 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/6.973, allocations: 99.41 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/6.973, allocations: 22.5 kB / 2.901 GB, free: 143.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/6.974, allocations: 133.2 kB / 2.901 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/6.974, allocations: 48.53 kB / 2.901 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/6.974, allocations: 456.5 kB / 2.901 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/6.974, allocations: 3.938 kB / 2.901 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.975, allocations: 2.844 kB / 2.901 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/6.975, allocations: 2.953 kB / 2.901 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/6.976, allocations: 1.243 MB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/6.976, allocations: 9.438 kB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/6.977, allocations: 80.44 kB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/6.977, allocations: 5.938 kB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/6.977, allocations: 14.09 kB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/6.977, allocations: 12.61 kB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/6.977, allocations: 7.156 kB / 2.903 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/6.978, allocations: 0.9518 MB / 2.904 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/6.978, allocations: 173.2 kB / 2.904 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/6.978, allocations: 13.91 kB / 2.904 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/6.979, allocations: 55.75 kB / 2.904 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/6.979, allocations: 54.81 kB / 2.904 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/6.979, allocations: 11.81 kB / 2.904 GB, free: 142 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003435/6.979, allocations: 332.9 kB / 2.904 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/6.979, allocations: 0 / 2.904 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001204/6.981, allocations: 288.2 kB / 2.905 GB, free: 141.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003617/6.984, allocations: 3.836 MB / 2.908 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007027/6.985, allocations: 490.9 kB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/6.985, allocations: 0 / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/6.985, allocations: 242.6 kB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/6.987, allocations: 279 kB / 2.909 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/6.988, allocations: 0.9466 MB / 2.91 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/6.989, allocations: 0.8742 MB / 2.911 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000486/6.989, allocations: 124.3 kB / 2.911 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/6.99, allocations: 173.4 kB / 2.911 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/6.99, allocations: 0 / 2.911 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/7.053, allocations: 41.11 MB / 2.951 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/7.053, allocations: 183.7 kB / 2.952 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/10.66, allocations: 3.938 kB / 2.952 GB, free: 130.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)