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: translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.002056/0.002056, allocations: 103.3 kB / 15.98 MB, free: 5.891 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.002749/0.002749, allocations: 191.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.073/2.073, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7777/0.7777, allocations: 132.2 MB / 422.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.62 kB / 0.5019 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4913, allocations: 80.19 MB / 0.5802 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.05088/0.5422, allocations: 47.77 MB / 0.6269 GB, free: 280 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.5629, allocations: 13.29 MB / 0.6399 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.5666, allocations: 59.62 kB / 0.6399 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.5697, allocations: 0.8046 MB / 0.6407 GB, free: 3.582 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.00649/0.5762, allocations: 1.929 MB / 0.6426 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.5813, allocations: 1.7 MB / 0.6442 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006476/0.5877, allocations: 4.139 MB / 0.6483 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.5902, allocations: 1.484 MB / 0.6497 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.5946, allocations: 1.635 MB / 0.6513 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.5971, allocations: 1.229 MB / 0.6525 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.5975, allocations: 151.9 kB / 0.6527 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/0.6012, allocations: 1.463 MB / 0.6541 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006775/0.6019, allocations: 462.5 kB / 0.6545 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.6032, allocations: 0.8592 MB / 0.6554 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.6072, allocations: 2.245 MB / 0.6576 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.6072, allocations: 4 kB / 0.6576 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6072, allocations: 0 / 0.6576 GB, free: 2.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.6073, allocations: 0 / 0.6576 GB, free: 2.238 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.003814/0.6111, allocations: 2.009 MB / 0.6595 GB, free: 180 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6111, allocations: 12.03 kB / 0.6596 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009395/0.6205, allocations: 1.29 MB / 0.6608 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.6236, allocations: 1.426 MB / 0.6622 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.6239, allocations: 121.9 kB / 0.6623 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.6242, allocations: 96 kB / 0.6624 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005292/0.6295, allocations: 1.604 MB / 0.664 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.6295, allocations: 3.938 kB / 0.664 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6297, allocations: 36 kB / 0.664 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.6297, allocations: 27.94 kB / 0.664 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007974/0.6377, allocations: 1.799 MB / 0.6658 GB, free: 9.668 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.01562/0.6533, allocations: 6.365 MB / 0.672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007036/0.6604, allocations: 1.411 MB / 0.6734 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.6637, allocations: 0.7045 MB / 0.6741 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005755/0.6695, allocations: 3.955 MB / 0.6779 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6696, allocations: 30.56 kB / 0.678 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003978/0.67, allocations: 59.28 kB / 0.678 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.67, allocations: 0 / 0.678 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01034/0.6803, allocations: 2.009 MB / 0.68 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6804, allocations: 59.39 kB / 0.6801 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.6824, allocations: 1.301 MB / 0.6813 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.6825, allocations: 37.7 kB / 0.6814 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005974/0.6831, allocations: 0.6871 MB / 0.682 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.6833, allocations: 157.8 kB / 0.6822 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.6837, allocations: 194.3 kB / 0.6824 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6838, allocations: 338 kB / 0.6827 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/0.6873, allocations: 0.7344 MB / 0.6834 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/0.6911, allocations: 1.087 MB / 0.6845 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/0.6976, allocations: 1.651 MB / 0.6861 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.6976, allocations: 4 kB / 0.6861 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007909/0.7055, allocations: 1.872 MB / 0.6879 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.7056, allocations: 10.19 kB / 0.6879 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7056, allocations: 12 kB / 0.6879 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.7057, allocations: 16 kB / 0.6879 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.7078, allocations: 403.6 kB / 0.6883 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.7079, allocations: 19.94 kB / 0.6884 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.7105, allocations: 308 kB / 0.6886 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.7107, allocations: 55.97 kB / 0.6887 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003931/0.7146, allocations: 1.001 MB / 0.6897 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003753/0.7184, allocations: 1.087 MB / 0.6907 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006508/0.7249, allocations: 1.644 MB / 0.6923 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.416e-06/0.7249, allocations: 4 kB / 0.6923 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.007757/0.7327, allocations: 1.872 MB / 0.6942 GB, free: 11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.7327, allocations: 16.06 kB / 0.6942 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7328, allocations: 8 kB / 0.6942 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7328, allocations: 16 kB / 0.6942 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.7348, allocations: 395.4 kB / 0.6946 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.7349, allocations: 19.94 kB / 0.6946 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.7374, allocations: 300.1 kB / 0.6949 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.7375, allocations: 55.97 kB / 0.695 GB, free: 10.21 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.000375/0.7379, allocations: 239.9 kB / 0.6952 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.7383, allocations: 134.3 kB / 0.6953 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007674/0.7459, allocations: 1.801 MB / 0.6971 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.746, allocations: 11.98 kB / 0.6971 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.746, allocations: 4 kB / 0.6971 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006672/0.7527, allocations: 1.572 MB / 0.6986 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/0.7626, allocations: 3.016 MB / 0.7016 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7626, allocations: 4.031 kB / 0.7016 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.7646, allocations: 291.5 kB / 0.7018 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.7646, allocations: 7.938 kB / 0.7019 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.7647, allocations: 15.98 kB / 0.7019 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.7647, allocations: 4.156 kB / 0.7019 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7647, allocations: 0 / 0.7019 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.7755, allocations: 2.483 MB / 0.7043 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/0.7764, allocations: 323.2 kB / 0.7046 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.7766, allocations: 12 kB / 0.7046 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/0.7787, allocations: 239.6 kB / 0.7048 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7789, allocations: 48.33 kB / 0.7049 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.779, allocations: 31.97 kB / 0.7049 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001546/0.7805, allocations: 0.8918 MB / 0.7058 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7805, allocations: 4 kB / 0.7058 GB, free: 14.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002448/0.783, allocations: 0.7643 MB / 0.7065 GB, free: 14.14 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.001226/0.7842, allocations: 0.5176 MB / 0.707 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.7956, allocations: 2.558 MB / 0.7095 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7956, allocations: 4.062 kB / 0.7095 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.7992, allocations: 0.7559 MB / 0.7103 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/0.8028, allocations: 0.7223 MB / 0.711 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007477/0.8103, allocations: 3.295 MB / 0.7142 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/0.8113, allocations: 1.225 MB / 0.7154 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/0.8119, allocations: 131.4 kB / 0.7155 GB, free: 4.93 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.8119, allocations: 0 / 0.7155 GB, free: 4.93 MB / 0.545 GB Notification: Performance of Templates: time 0.04507/0.857, allocations: 27.71 MB / 0.7426 GB, free: 9.508 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (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 & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)