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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.0008692, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004827/0.004827, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6941/0.6941, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004367, allocations: 9.594 kB / 0.5041 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 81.57 MB / 0.5838 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.03874/0.3919, allocations: 46.86 MB / 0.6295 GB, free: 308 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.4068, allocations: 13.29 MB / 0.6425 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.4084, allocations: 59.62 kB / 0.6425 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.4101, allocations: 0.7812 MB / 0.6433 GB, free: 3.281 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/Actuators/Valves/Simplified/Thermostatic3WayValve.mo:34:3-38:63:writable] Warning: Conditional component ‘vol‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.003482/0.4136, allocations: 1.928 MB / 0.6452 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.4166, allocations: 1.646 MB / 0.6468 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004175/0.4208, allocations: 5.517 MB / 0.6522 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.422, allocations: 1.203 MB / 0.6534 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.4236, allocations: 1.357 MB / 0.6547 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.4246, allocations: 1.143 MB / 0.6558 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.4247, allocations: 56 kB / 0.6559 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.4266, allocations: 1.377 MB / 0.6572 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.4269, allocations: 354.6 kB / 0.6575 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.4275, allocations: 0.771 MB / 0.6583 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.4297, allocations: 2.815 MB / 0.661 GB, free: 1.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4297, allocations: 0 / 0.661 GB, free: 1.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4297, allocations: 0 / 0.661 GB, free: 1.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4298, allocations: 0 / 0.661 GB, free: 1.055 MB / 494.1 MB 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.002276/0.432, allocations: 1.722 MB / 0.6627 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.4321, allocations: 8.031 kB / 0.6627 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.4322, allocations: 139.9 kB / 0.6629 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008979/0.4412, allocations: 1.634 MB / 0.6645 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.4433, allocations: 1.419 MB / 0.6658 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.4436, allocations: 141.9 kB / 0.666 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.4438, allocations: 96 kB / 0.6661 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/0.4486, allocations: 1.733 MB / 0.6678 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4486, allocations: 0 / 0.6678 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4487, allocations: 48 kB / 0.6678 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.4487, allocations: 20 kB / 0.6678 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/0.4565, allocations: 2.061 MB / 0.6698 GB, free: 7.883 MB / 0.4981 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.01247/0.469, allocations: 6.658 MB / 0.6763 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.4759, allocations: 1.673 MB / 0.678 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003389/0.4793, allocations: 0.8372 MB / 0.6788 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003956/0.4832, allocations: 3.944 MB / 0.6826 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4833, allocations: 38.5 kB / 0.6827 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002208/0.4835, allocations: 71.17 kB / 0.6828 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.4835, allocations: 0 / 0.6828 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01005/0.4936, allocations: 2.381 MB / 0.6851 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.4936, allocations: 55.41 kB / 0.6851 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.495, allocations: 1.297 MB / 0.6864 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.4951, allocations: 41.7 kB / 0.6864 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.4955, allocations: 0.6949 MB / 0.6871 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.4957, allocations: 149.8 kB / 0.6873 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4958, allocations: 73.67 kB / 0.6873 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.4959, allocations: 337.9 kB / 0.6877 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/0.4994, allocations: 0.8605 MB / 0.6885 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/0.5032, allocations: 1.208 MB / 0.6897 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006614/0.5098, allocations: 1.89 MB / 0.6915 GB, free: 436 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.5099, allocations: 7.938 kB / 0.6915 GB, free: 428 kB / 0.5137 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007448/0.5173, allocations: 2.11 MB / 0.6936 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.5175, allocations: 421.6 kB / 0.694 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5175, allocations: 12 kB / 0.694 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5176, allocations: 16 kB / 0.694 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.5197, allocations: 455.4 kB / 0.6944 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.5197, allocations: 27.86 kB / 0.6945 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.5219, allocations: 368 kB / 0.6948 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/0.522, allocations: 55.97 kB / 0.6949 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.522, allocations: 7.938 kB / 0.6949 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007236/0.5293, allocations: 1.962 MB / 0.6968 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5293, allocations: 12 kB / 0.6968 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5293, allocations: 16 kB / 0.6968 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.5314, allocations: 459.6 kB / 0.6973 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5314, allocations: 23.94 kB / 0.6973 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.5334, allocations: 344.1 kB / 0.6976 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.5335, allocations: 51.97 kB / 0.6977 GB, free: 9.965 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (102): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004307/0.534, allocations: 436.7 kB / 0.6981 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.5341, allocations: 138.2 kB / 0.6982 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007446/0.5416, allocations: 2.054 MB / 0.7002 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5416, allocations: 11.94 kB / 0.7002 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5416, allocations: 3.938 kB / 0.7002 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006672/0.5483, allocations: 1.822 MB / 0.702 GB, free: 5.465 MB / 0.5294 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.008347/0.5566, allocations: 3.286 MB / 0.7052 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5567, allocations: 11.98 kB / 0.7052 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.5585, allocations: 347.7 kB / 0.7056 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.5585, allocations: 4 kB / 0.7056 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.5585, allocations: 23.97 kB / 0.7056 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5586, allocations: 3.938 kB / 0.7056 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5586, allocations: 4 kB / 0.7056 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.5687, allocations: 2.831 MB / 0.7084 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.5691, allocations: 335 kB / 0.7087 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.5692, allocations: 12 kB / 0.7087 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.5712, allocations: 303.7 kB / 0.709 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.5713, allocations: 44.27 kB / 0.709 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.5713, allocations: 27.97 kB / 0.7091 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001026/0.5724, allocations: 0.8996 MB / 0.7099 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5724, allocations: 0 / 0.7099 GB, free: 13.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001533/0.5739, allocations: 0.7643 MB / 0.7107 GB, free: 12.44 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (thermostatic3WayValve.vol.dynBal.U,thermostatic3WayValve.k_state,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 (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01114/0.5851, allocations: 3.79 MB / 0.7144 GB, free: 8.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.5958, allocations: 2.894 MB / 0.7172 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5959, allocations: 0 / 0.7172 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/0.5992, allocations: 0.8815 MB / 0.7181 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.6019, allocations: 0.6783 MB / 0.7187 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/0.6329, allocations: 14.08 MB / 0.7325 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.6335, allocations: 1.222 MB / 0.7337 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001441/0.635, allocations: 419.3 kB / 0.7341 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/0.6356, allocations: 0.5461 MB / 0.7346 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6356, allocations: 0 / 0.7346 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.047/6.682, allocations: 39.73 MB / 0.7734 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/6.683, allocations: 252.4 kB / 0.7736 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/9.45, allocations: 6.688 kB / 0.7737 GB, free: 11.82 MB / 0.6075 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/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)