Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_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.001594/0.001594, 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.7411/0.7411, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.382/1.382, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.0008172/0.0008172, allocations: 95.12 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.374e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1547, allocations: 82.31 MB / 0.6405 GB, free: 7.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.366, allocations: 365.3 MB / 0.9972 GB, free: 206 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.366, allocations: 104.5 kB / 0.9973 GB, free: 206 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.884/3.25, allocations: 0.5022 GB / 1.5 GB, free: 92.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/3.25, allocations: 1.125 kB / 1.5 GB, free: 92.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003142/3.25, allocations: 41.45 kB / 1.5 GB, free: 92.63 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.005499/3.256, allocations: 1.658 MB / 1.501 GB, free: 92.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/3.256, allocations: 13.72 kB / 1.501 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005221/3.256, allocations: 146 kB / 1.501 GB, free: 92.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/3.267, allocations: 1.538 MB / 1.503 GB, free: 92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007423/3.274, allocations: 1.966 MB / 1.505 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/3.274, allocations: 77.62 kB / 1.505 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005242/3.275, allocations: 98.72 kB / 1.505 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/3.279, allocations: 1.139 MB / 1.506 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/3.279, allocations: 1.031 kB / 1.506 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/3.279, allocations: 38.75 kB / 1.506 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/3.279, allocations: 22.47 kB / 1.506 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/3.281, allocations: 0.902 MB / 1.507 GB, free: 91.51 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.01624/3.298, allocations: 6.127 MB / 1.513 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/3.299, allocations: 0.6087 MB / 1.514 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/3.3, allocations: 306 kB / 1.514 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006142/3.306, allocations: 3.759 MB / 1.518 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/3.306, allocations: 40.47 kB / 1.518 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008977/3.307, allocations: 59.33 kB / 1.518 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 5.32e-06/3.307, allocations: 0 / 1.518 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.002101/3.309, allocations: 0.6482 MB / 1.518 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/3.309, allocations: 56.03 kB / 1.518 GB, free: 86.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/3.312, allocations: 1.099 MB / 1.519 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/3.312, allocations: 38.33 kB / 1.519 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008229/3.313, allocations: 0.6951 MB / 1.52 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/3.313, allocations: 162.1 kB / 1.52 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/3.313, allocations: 17.55 kB / 1.52 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001044/3.313, allocations: 342.8 kB / 1.521 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/3.314, allocations: 287.7 kB / 1.521 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/3.315, allocations: 0.6702 MB / 1.522 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/3.316, allocations: 345.1 kB / 1.522 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/3.316, allocations: 2.75 kB / 1.522 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002642/3.318, allocations: 1.038 MB / 1.523 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/3.32, allocations: 4.514 MB / 1.527 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/3.32, allocations: 12.47 kB / 1.527 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/3.32, allocations: 63.61 kB / 1.527 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/3.323, allocations: 428.1 kB / 1.528 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004572/3.323, allocations: 0.5958 MB / 1.528 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/3.326, allocations: 323 kB / 1.529 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/3.326, allocations: 57.45 kB / 1.529 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/3.327, allocations: 3.906 kB / 1.529 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002236/3.329, allocations: 0.8854 MB / 1.53 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/3.329, allocations: 10.12 kB / 1.53 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/3.329, allocations: 63 kB / 1.53 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/3.331, allocations: 425 kB / 1.53 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003661/3.331, allocations: 0.5948 MB / 1.531 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/3.334, allocations: 309.1 kB / 1.531 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/3.334, allocations: 58.14 kB / 1.531 GB, free: 79.12 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 () * 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.0003404/3.335, allocations: 162.5 kB / 1.531 GB, free: 79.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/3.335, allocations: 139.5 kB / 1.531 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/3.337, allocations: 1.051 MB / 1.532 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/3.337, allocations: 15.53 kB / 1.532 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/3.338, allocations: 3.562 kB / 1.532 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/3.339, allocations: 0.8172 MB / 1.533 GB, free: 78.57 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 postOpt removeSimpleEquations (simulation): time 0.004212/3.343, allocations: 2.234 MB / 1.535 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/3.343, allocations: 0 / 1.535 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/3.345, allocations: 334.9 kB / 1.536 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/3.345, allocations: 42.75 kB / 1.536 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/3.345, allocations: 22.88 kB / 1.536 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002805/3.345, allocations: 0.565 MB / 1.536 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/3.345, allocations: 1.688 kB / 1.536 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/3.347, allocations: 1.375 MB / 1.538 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008447/3.348, allocations: 323.1 kB / 1.538 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/3.349, allocations: 16.97 kB / 1.538 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/3.351, allocations: 281.4 kB / 1.538 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/3.351, allocations: 37.81 kB / 1.538 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-05/3.351, allocations: 37.31 kB / 1.538 GB, free: 77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001608/3.353, allocations: 0.8545 MB / 1.539 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/3.353, allocations: 0 / 1.539 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003906/3.357, allocations: 0.852 MB / 1.54 GB, free: 76.79 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 () * 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.004989/3.362, allocations: 3.134 MB / 1.543 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003041/3.365, allocations: 1.317 MB / 1.544 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/3.365, allocations: 0 / 1.544 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007279/3.366, allocations: 382.3 kB / 1.545 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/3.369, allocations: 0.6642 MB / 1.545 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/3.376, allocations: 2.202 MB / 1.547 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/3.377, allocations: 1.25 MB / 1.549 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002891/3.38, allocations: 0.5041 MB / 1.549 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/3.381, allocations: 0.5398 MB / 1.55 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of SimCode: time 1.673e-06/3.381, allocations: 1.75 kB / 1.55 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09163/3.472, allocations: 50.7 MB / 1.599 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/3.473, allocations: 244 kB / 1.599 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.639/7.112, allocations: 0 / 1.599 GB, free: 71.47 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)