Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.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.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",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.01086/0.01086, allocations: 171.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8472/0.8472, allocations: 135.2 MB / 151 MB, free: 13.84 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.791/1.791, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001002/0.001003, allocations: 95.95 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.5673, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9769/1.544, allocations: 365.3 MB / 1.006 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/1.545, allocations: 120.2 kB / 1.006 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.111/3.656, allocations: 0.5041 GB / 1.511 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/3.656, allocations: 0 / 1.511 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001498/3.656, allocations: 39.98 kB / 1.511 GB, free: 65.12 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004531/3.661, allocations: 2.031 MB / 1.513 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/3.661, allocations: 15.95 kB / 1.513 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/3.661, allocations: 143.7 kB / 1.513 GB, free: 62.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009319/3.67, allocations: 1.537 MB / 1.514 GB, free: 61.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00539/3.676, allocations: 1.985 MB / 1.516 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/3.676, allocations: 78 kB / 1.516 GB, free: 59.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/3.676, allocations: 103.3 kB / 1.516 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/3.681, allocations: 1.661 MB / 1.518 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/3.681, allocations: 4 kB / 1.518 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/3.681, allocations: 40 kB / 1.518 GB, free: 57.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/3.681, allocations: 20 kB / 1.518 GB, free: 57.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008123/3.69, allocations: 1.936 MB / 1.52 GB, free: 55.41 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0158/3.705, allocations: 6.132 MB / 1.526 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006463/3.712, allocations: 1.623 MB / 1.527 GB, free: 47.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00465/3.717, allocations: 3.754 MB / 1.531 GB, free: 43.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/3.717, allocations: 42.5 kB / 1.531 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005585/3.717, allocations: 63.22 kB / 1.531 GB, free: 43.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.584e-06/3.717, allocations: 0 / 1.531 GB, free: 43.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.01009/3.727, allocations: 2.449 MB / 1.534 GB, free: 40.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/3.727, allocations: 59.41 kB / 1.534 GB, free: 40.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/3.729, allocations: 1.114 MB / 1.535 GB, free: 39.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/3.729, allocations: 37.7 kB / 1.535 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/3.73, allocations: 0.6949 MB / 1.535 GB, free: 38.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/3.73, allocations: 161.7 kB / 1.536 GB, free: 38.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/3.73, allocations: 20 kB / 1.536 GB, free: 38.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/3.73, allocations: 334 kB / 1.536 GB, free: 38.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/3.733, allocations: 0.7864 MB / 1.537 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/3.736, allocations: 1.164 MB / 1.538 GB, free: 35.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/3.739, allocations: 0.8192 MB / 1.539 GB, free: 35.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/3.739, allocations: 4 kB / 1.539 GB, free: 35.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007144/3.747, allocations: 2.006 MB / 1.541 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001053/3.748, allocations: 4.514 MB / 1.545 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/3.748, allocations: 12 kB / 1.545 GB, free: 28.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/3.748, allocations: 60.83 kB / 1.545 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/3.75, allocations: 423.4 kB / 1.546 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003613/3.75, allocations: 0.5951 MB / 1.546 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/3.753, allocations: 323.6 kB / 1.546 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/3.753, allocations: 59.97 kB / 1.546 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/3.753, allocations: 4 kB / 1.546 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00674/3.76, allocations: 1.861 MB / 1.548 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/3.76, allocations: 12 kB / 1.548 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/3.76, allocations: 57.38 kB / 1.548 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/3.762, allocations: 423.4 kB / 1.549 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002919/3.762, allocations: 0.6029 MB / 1.549 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/3.765, allocations: 311.5 kB / 1.55 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/3.765, allocations: 59.84 kB / 1.55 GB, free: 23.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0009063/3.766, allocations: 440.7 kB / 1.55 GB, free: 23.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/3.766, allocations: 142.1 kB / 1.55 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00702/3.773, allocations: 2.015 MB / 1.552 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/3.773, allocations: 8 kB / 1.552 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/3.773, allocations: 0 / 1.552 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006137/3.779, allocations: 1.788 MB / 1.554 GB, free: 19.05 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.008683/3.788, allocations: 3.204 MB / 1.557 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/3.788, allocations: 128 / 1.557 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/3.79, allocations: 339.6 kB / 1.557 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/3.79, allocations: 40.83 kB / 1.557 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/3.79, allocations: 19.98 kB / 1.558 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002704/3.791, allocations: 0.5717 MB / 1.558 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.791, allocations: 0 / 1.558 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009772/3.8, allocations: 2.849 MB / 1.561 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/3.801, allocations: 319.1 kB / 1.561 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/3.801, allocations: 12 kB / 1.561 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/3.803, allocations: 291.6 kB / 1.561 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/3.803, allocations: 36.39 kB / 1.561 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/3.803, allocations: 27.97 kB / 1.562 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001185/3.805, allocations: 0.8683 MB / 1.562 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/3.805, allocations: 0 / 1.562 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002755/3.807, allocations: 0.8579 MB / 1.563 GB, free: 9.426 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (thermostatic3WayValve.k_state,thermostatic3WayValve.vol.dynBal.U,T_out.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0118/3.819, allocations: 4.62 MB / 1.568 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01056/3.83, allocations: 2.777 MB / 1.57 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/3.83, allocations: 0 / 1.57 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/3.833, allocations: 0.8774 MB / 1.571 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/3.836, allocations: 0.6688 MB / 1.572 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/3.849, allocations: 11.99 MB / 1.584 GB, free: 4.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009292/3.85, allocations: 1.249 MB / 1.585 GB, free: 2.992 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00196/3.852, allocations: 394.6 kB / 1.585 GB, free: 2.629 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008298/3.853, allocations: 0.5539 MB / 1.586 GB, free: 2.074 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/3.853, allocations: 0 / 1.586 GB, free: 2.074 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4551/4.308, allocations: 47.17 MB / 1.632 GB, free: 115 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/4.308, allocations: 271.8 kB / 1.632 GB, free: 114.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/7.848, allocations: 2.672 kB / 1.632 GB, free: 114.7 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)