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.002517/0.002517, allocations: 180.9 kB / 7.65 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 1.194/1.194, allocations: 133.6 MB / 141.6 MB, free: 2.941 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.498/2.498, allocations: 221.5 MB / 395.5 MB, free: 10.81 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.001416/0.001416, allocations: 103.6 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.23e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9167, allocations: 82.29 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/2.237, allocations: 364.6 MB / 0.99 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004309/2.238, allocations: 106.3 kB / 0.9901 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.913/5.15, allocations: 0.499 GB / 1.489 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.959e-06/5.15, allocations: 6.094 kB / 1.489 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004855/5.151, allocations: 44.06 kB / 1.489 GB, free: 106.6 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.007677/5.158, allocations: 1.653 MB / 1.491 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.177e-05/5.159, allocations: 12.03 kB / 1.491 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/5.175, allocations: 1.541 MB / 1.492 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/5.185, allocations: 1.963 MB / 1.494 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/5.185, allocations: 32 kB / 1.494 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006049/5.186, allocations: 59.52 kB / 1.494 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003559/5.19, allocations: 0.8592 MB / 1.495 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/5.193, allocations: 1.01 MB / 1.496 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/5.193, allocations: 0 / 1.496 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/5.193, allocations: 4 kB / 1.496 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/5.193, allocations: 20 kB / 1.496 GB, free: 99.41 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.02277/5.216, allocations: 6.117 MB / 1.502 GB, free: 93.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/5.218, allocations: 0.6043 MB / 1.503 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/5.218, allocations: 298.1 kB / 1.503 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00653/5.225, allocations: 3.55 MB / 1.506 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/5.225, allocations: 46.5 kB / 1.506 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007416/5.226, allocations: 35.44 kB / 1.507 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 4.248e-06/5.226, allocations: 0 / 1.507 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.003645/5.229, allocations: 0.7154 MB / 1.507 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/5.229, allocations: 55.41 kB / 1.507 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/5.231, allocations: 0.9368 MB / 1.508 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/5.231, allocations: 25.7 kB / 1.508 GB, free: 86.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/5.232, allocations: 0.7017 MB / 1.509 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/5.232, allocations: 145.9 kB / 1.509 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/5.232, allocations: 0 / 1.509 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/5.233, allocations: 338.2 kB / 1.509 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/5.233, allocations: 278.6 kB / 1.51 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/5.234, allocations: 0.6482 MB / 1.51 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/5.237, allocations: 452.3 kB / 1.511 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/5.237, allocations: 4 kB / 1.511 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004563/5.242, allocations: 1.066 MB / 1.512 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001467/5.243, allocations: 4.477 MB / 1.516 GB, free: 77.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/5.243, allocations: 12 kB / 1.516 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/5.244, allocations: 56.83 kB / 1.516 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/5.247, allocations: 431.4 kB / 1.517 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/5.248, allocations: 0.5913 MB / 1.517 GB, free: 76.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/5.252, allocations: 311.4 kB / 1.517 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/5.252, allocations: 59.92 kB / 1.518 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/5.252, allocations: 11.88 kB / 1.518 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004211/5.256, allocations: 0.9055 MB / 1.518 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/5.256, allocations: 12 kB / 1.518 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/5.257, allocations: 56.78 kB / 1.518 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/5.26, allocations: 423.7 kB / 1.519 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000532/5.261, allocations: 0.5874 MB / 1.519 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/5.265, allocations: 303.5 kB / 1.52 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/5.265, allocations: 55.97 kB / 1.52 GB, free: 73.91 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.000463/5.265, allocations: 128.7 kB / 1.52 GB, free: 73.78 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003517/5.269, allocations: 0.7312 MB / 1.521 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/5.269, allocations: 122.5 kB / 1.521 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/5.273, allocations: 1.031 MB / 1.522 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/5.273, allocations: 8 kB / 1.522 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/5.273, allocations: 4 kB / 1.522 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002588/5.276, allocations: 0.8434 MB / 1.523 GB, free: 70.98 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.00599/5.282, allocations: 2.134 MB / 1.525 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/5.282, allocations: 4 kB / 1.525 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/5.285, allocations: 331.7 kB / 1.525 GB, free: 68.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/5.285, allocations: 43.61 kB / 1.525 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/5.285, allocations: 19.97 kB / 1.525 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004586/5.285, allocations: 0.5601 MB / 1.526 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/5.285, allocations: 7.969 kB / 1.526 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/5.289, allocations: 1.372 MB / 1.527 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/5.291, allocations: 311.1 kB / 1.527 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/5.291, allocations: 7.984 kB / 1.527 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/5.294, allocations: 275.6 kB / 1.528 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/5.294, allocations: 40.31 kB / 1.528 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/5.295, allocations: 27.98 kB / 1.528 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001689/5.296, allocations: 0.697 MB / 1.528 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.725e-06/5.296, allocations: 3.938 kB / 1.528 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004919/5.301, allocations: 0.8301 MB / 1.529 GB, free: 64.15 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.00775/5.309, allocations: 3.108 MB / 1.532 GB, free: 61.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003764/5.313, allocations: 1.213 MB / 1.533 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/5.313, allocations: 0 / 1.533 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/5.314, allocations: 358.5 kB / 1.534 GB, free: 59.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/5.319, allocations: 0.558 MB / 1.534 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/5.328, allocations: 2.108 MB / 1.536 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/5.329, allocations: 1.243 MB / 1.537 GB, free: 55.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004239/5.333, allocations: 492.8 kB / 1.538 GB, free: 55.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/5.334, allocations: 0.5226 MB / 1.538 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of SimCode: time 2.274e-06/5.334, allocations: 0 / 1.538 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/5.458, allocations: 40.82 MB / 1.578 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/5.458, allocations: 191.4 kB / 1.578 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.983/11.44, allocations: 0 / 1.578 GB, free: 14.41 MB / 0.6823 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)