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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001314/0.001314, allocations: 192 kB / 17.2 MB, free: 5.508 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7991/0.7991, allocations: 135.2 MB / 426.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 0.5061 GB, free: 8.289 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 80.91 MB / 0.5851 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.04363/0.3686, allocations: 48.17 MB / 0.6321 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.3894, allocations: 13.37 MB / 0.6452 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.3918, allocations: 67.62 kB / 0.6452 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.3949, allocations: 0.9125 MB / 0.6461 GB, free: 11.89 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.00594/0.4009, allocations: 2.072 MB / 0.6482 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.4058, allocations: 1.85 MB / 0.65 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006393/0.4122, allocations: 4.114 MB / 0.654 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.4152, allocations: 1.484 MB / 0.6554 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.4195, allocations: 1.621 MB / 0.657 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.4218, allocations: 1.179 MB / 0.6582 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005352/0.4224, allocations: 152 kB / 0.6583 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.426, allocations: 1.455 MB / 0.6597 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008179/0.4268, allocations: 454.5 kB / 0.6602 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.4286, allocations: 0.8514 MB / 0.661 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.4342, allocations: 2.906 MB / 0.6638 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.4342, allocations: 4 kB / 0.6638 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4342, allocations: 0 / 0.6638 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.772e-05/0.4343, allocations: 0 / 0.6638 GB, free: 9.703 MB / 0.4981 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.004003/0.4383, allocations: 2.006 MB / 0.6658 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4384, allocations: 17.11 kB / 0.6658 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009557/0.4479, allocations: 1.29 MB / 0.6671 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.4509, allocations: 1.361 MB / 0.6684 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.4513, allocations: 129.9 kB / 0.6685 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.4515, allocations: 100 kB / 0.6686 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.457, allocations: 1.589 MB / 0.6702 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.457, allocations: 11.88 kB / 0.6702 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.4571, allocations: 40 kB / 0.6702 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.4572, allocations: 20 kB / 0.6702 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00827/0.4654, allocations: 1.787 MB / 0.672 GB, free: 1.207 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.01555/0.481, allocations: 6.43 MB / 0.6783 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/0.4884, allocations: 1.386 MB / 0.6796 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/0.492, allocations: 0.7005 MB / 0.6803 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005614/0.4976, allocations: 3.94 MB / 0.6841 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4977, allocations: 38.56 kB / 0.6842 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.334e-06/0.4977, allocations: 0 / 0.6842 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.01071/0.5084, allocations: 1.979 MB / 0.6861 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5085, allocations: 55.41 kB / 0.6862 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.5105, allocations: 1.324 MB / 0.6875 GB, free: 440 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.5106, allocations: 41.64 kB / 0.6875 GB, free: 392 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006668/0.5113, allocations: 0.6949 MB / 0.6882 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.5115, allocations: 149.8 kB / 0.6883 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.5118, allocations: 194.4 kB / 0.6885 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.512, allocations: 337.9 kB / 0.6888 GB, free: 15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/0.5157, allocations: 0.7344 MB / 0.6895 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004047/0.5198, allocations: 1.075 MB / 0.6906 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007131/0.5269, allocations: 1.628 MB / 0.6922 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.527, allocations: 4 kB / 0.6922 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.008336/0.5353, allocations: 1.856 MB / 0.694 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.5353, allocations: 10.5 kB / 0.694 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.5354, allocations: 12 kB / 0.694 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.5354, allocations: 16.34 kB / 0.694 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.5376, allocations: 395.4 kB / 0.6944 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.5377, allocations: 27.86 kB / 0.6944 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.5401, allocations: 331.2 kB / 0.6948 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.5402, allocations: 55.97 kB / 0.6948 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004148/0.5444, allocations: 1.002 MB / 0.6958 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004017/0.5484, allocations: 1.075 MB / 0.6968 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007086/0.5555, allocations: 1.636 MB / 0.6984 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.314e-06/0.5555, allocations: 4 kB / 0.6984 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.008248/0.5638, allocations: 1.853 MB / 0.7003 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5638, allocations: 8 kB / 0.7003 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.5639, allocations: 12 kB / 0.7003 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5639, allocations: 16 kB / 0.7003 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.5661, allocations: 391.5 kB / 0.7007 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.5661, allocations: 31.91 kB / 0.7007 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.5685, allocations: 303.7 kB / 0.701 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5686, allocations: 51.98 kB / 0.701 GB, free: 1.852 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 (101): * Single equations (assignments): 100 * 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.0003089/0.5689, allocations: 239.9 kB / 0.7013 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.5692, allocations: 138.3 kB / 0.7014 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007983/0.5772, allocations: 1.776 MB / 0.7031 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.5772, allocations: 15.98 kB / 0.7031 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5772, allocations: 0 / 0.7031 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007052/0.5843, allocations: 1.56 MB / 0.7047 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009533/0.5939, allocations: 3.007 MB / 0.7076 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.5939, allocations: 0 / 0.7076 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.5958, allocations: 287.7 kB / 0.7079 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.5958, allocations: 11.92 kB / 0.7079 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/0.5959, allocations: 19.98 kB / 0.7079 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.5959, allocations: 7.984 kB / 0.7079 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5959, allocations: 4 kB / 0.7079 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.6071, allocations: 2.456 MB / 0.7103 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/0.6079, allocations: 335 kB / 0.7106 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6081, allocations: 8 kB / 0.7106 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/0.61, allocations: 215.7 kB / 0.7108 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.6101, allocations: 44.31 kB / 0.7109 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.6102, allocations: 31.97 kB / 0.7109 GB, free: 7.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001489/0.6117, allocations: 0.9113 MB / 0.7118 GB, free: 6.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6117, allocations: 0 / 0.7118 GB, free: 6.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002187/0.6139, allocations: 0.7721 MB / 0.7126 GB, free: 5.844 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 (55): * Single equations (assignments): 47 * 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.001134/0.6151, allocations: 0.5264 MB / 0.7131 GB, free: 5.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01225/0.6274, allocations: 2.53 MB / 0.7156 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6274, allocations: 4 kB / 0.7156 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003805/0.6312, allocations: 0.7455 MB / 0.7163 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.6346, allocations: 0.7314 MB / 0.717 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007105/0.6417, allocations: 2.795 MB / 0.7197 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009224/0.6426, allocations: 1.218 MB / 0.7209 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.6432, allocations: 131.4 kB / 0.721 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6432, allocations: 0 / 0.721 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.04289/0.6861, allocations: 28 MB / 0.7484 GB, free: 1.379 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)