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.0008281/0.0008279, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008818/0.0008819, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8643/0.8643, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 16.61 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 82.3 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.2972/0.4339, allocations: 40.22 MB / 0.6265 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.4476, allocations: 11.62 MB / 0.6378 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.45, allocations: 53.97 kB / 0.6379 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.4523, allocations: 0.7463 MB / 0.6386 GB, free: 22.84 MB / 0.4981 GB [/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.005084/0.4574, allocations: 2.066 MB / 0.6406 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.4615, allocations: 1.817 MB / 0.6424 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.4649, allocations: 2.389 MB / 0.6447 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.4662, allocations: 1.094 MB / 0.6458 GB, free: 19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.4678, allocations: 1.11 MB / 0.6469 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008292/0.4687, allocations: 0.7593 MB / 0.6476 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.4688, allocations: 57.94 kB / 0.6477 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.471, allocations: 1.108 MB / 0.6488 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.4713, allocations: 324.9 kB / 0.6491 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.4716, allocations: 335.9 kB / 0.6494 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.4735, allocations: 2.124 MB / 0.6515 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.4735, allocations: 0 / 0.6515 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4735, allocations: 0 / 0.6515 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.4735, allocations: 4 kB / 0.6515 GB, free: 17.05 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.002378/0.4759, allocations: 1.731 MB / 0.6532 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.476, allocations: 10.91 kB / 0.6532 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009175/0.4851, allocations: 1.628 MB / 0.6548 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.4881, allocations: 1.332 MB / 0.6561 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.4885, allocations: 138.2 kB / 0.6562 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.4887, allocations: 101.7 kB / 0.6563 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.4939, allocations: 1.73 MB / 0.658 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.4939, allocations: 0 / 0.658 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.494, allocations: 40.97 kB / 0.658 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.4941, allocations: 27.19 kB / 0.6581 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00791/0.502, allocations: 2.08 MB / 0.6601 GB, free: 13.85 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.01399/0.516, allocations: 6.761 MB / 0.6667 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/0.523, allocations: 1.691 MB / 0.6683 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003913/0.527, allocations: 3.596 MB / 0.6718 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.527, allocations: 36.94 kB / 0.6719 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000335/0.5273, allocations: 78.62 kB / 0.672 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.5274, allocations: 0 / 0.672 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.01036/0.5377, allocations: 2.468 MB / 0.6744 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.5378, allocations: 56.86 kB / 0.6744 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.5398, allocations: 1.399 MB / 0.6758 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.5399, allocations: 37.98 kB / 0.6758 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.5403, allocations: 0.664 MB / 0.6765 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5405, allocations: 162.1 kB / 0.6766 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.5405, allocations: 15.09 kB / 0.6766 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.5406, allocations: 339.8 kB / 0.677 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/0.5444, allocations: 0.8722 MB / 0.6778 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/0.548, allocations: 1.154 MB / 0.6789 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/0.5514, allocations: 0.8584 MB / 0.6798 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.5514, allocations: 2.938 kB / 0.6798 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007543/0.559, allocations: 2.095 MB / 0.6818 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005332/0.5595, allocations: 3.039 MB / 0.6848 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5596, allocations: 6.812 kB / 0.6848 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.5596, allocations: 12.88 kB / 0.6848 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.5617, allocations: 449.1 kB / 0.6852 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.5617, allocations: 19.14 kB / 0.6853 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.5645, allocations: 371 kB / 0.6856 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.5647, allocations: 52.31 kB / 0.6857 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.5647, allocations: 2.812 kB / 0.6857 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007211/0.5719, allocations: 1.886 MB / 0.6875 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.5719, allocations: 7.625 kB / 0.6875 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.572, allocations: 17.66 kB / 0.6875 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.574, allocations: 437.4 kB / 0.688 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/0.5741, allocations: 18.64 kB / 0.688 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.5766, allocations: 354.5 kB / 0.6883 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5767, allocations: 46.06 kB / 0.6884 GB, free: 14.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (90): * Single equations (assignments): 89 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000755/0.5775, allocations: 422.5 kB / 0.6888 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.5779, allocations: 139.9 kB / 0.6889 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/0.5859, allocations: 2.12 MB / 0.691 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.586, allocations: 10.34 kB / 0.691 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.586, allocations: 3.953 kB / 0.691 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006897/0.5929, allocations: 1.871 MB / 0.6928 GB, free: 11.71 MB / 0.5137 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.01045/0.6033, allocations: 3.496 MB / 0.6962 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.6034, allocations: 0 / 0.6962 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.6053, allocations: 366.3 kB / 0.6966 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.6053, allocations: 10.44 kB / 0.6966 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.6054, allocations: 24.03 kB / 0.6966 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.6054, allocations: 7.219 kB / 0.6966 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6054, allocations: 3.281 kB / 0.6966 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.6161, allocations: 3.035 MB / 0.6996 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/0.617, allocations: 355 kB / 0.6999 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.6174, allocations: 16 kB / 0.6999 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/0.6197, allocations: 319.6 kB / 0.7002 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.6198, allocations: 40.38 kB / 0.7003 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/0.6199, allocations: 31.97 kB / 0.7003 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001721/0.6216, allocations: 0.9789 MB / 0.7013 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6216, allocations: 0 / 0.7013 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002699/0.6243, allocations: 0.7762 MB / 0.702 GB, free: 5.184 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (58): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.6255, allocations: 0.5273 MB / 0.7025 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01149/0.637, allocations: 2.878 MB / 0.7053 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.637, allocations: 0 / 0.7053 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/0.6407, allocations: 0.9164 MB / 0.7062 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.6444, allocations: 0.7455 MB / 0.707 GB, free: 164 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.6524, allocations: 3.401 MB / 0.7103 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009625/0.6534, allocations: 1.25 MB / 0.7115 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002129/0.6556, allocations: 409.5 kB / 0.7119 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.656, allocations: 135.4 kB / 0.712 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.6561, allocations: 0 / 0.712 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.04858/0.7046, allocations: 31.7 MB / 0.743 GB, free: 11.59 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: