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.001219/0.001219, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001245/0.001245, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8021/0.8021, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.88 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3, allocations: 80.9 MB / 0.5858 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.03703/0.3371, allocations: 48.17 MB / 0.6328 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.3545, allocations: 13.38 MB / 0.6459 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.3566, allocations: 67.62 kB / 0.6459 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.3592, allocations: 0.9143 MB / 0.6468 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.004882/0.3641, allocations: 2.072 MB / 0.6489 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.3681, allocations: 1.863 MB / 0.6507 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005185/0.3733, allocations: 4.097 MB / 0.6547 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.3757, allocations: 1.484 MB / 0.6561 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.3794, allocations: 1.636 MB / 0.6577 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.3813, allocations: 1.182 MB / 0.6589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.3817, allocations: 148 kB / 0.659 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.3849, allocations: 1.466 MB / 0.6605 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.3854, allocations: 454.5 kB / 0.6609 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.3863, allocations: 0.8475 MB / 0.6617 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.3898, allocations: 2.949 MB / 0.6646 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3898, allocations: 0 / 0.6646 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3898, allocations: 0 / 0.6646 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.3898, allocations: 0 / 0.6646 GB, free: 9.652 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.003132/0.393, allocations: 2.004 MB / 0.6666 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.393, allocations: 9.109 kB / 0.6666 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008656/0.4017, allocations: 1.294 MB / 0.6678 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.4048, allocations: 1.428 MB / 0.6692 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.4049, allocations: 73.98 kB / 0.6693 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.4052, allocations: 96 kB / 0.6694 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00496/0.4102, allocations: 1.585 MB / 0.6709 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.4102, allocations: 7.938 kB / 0.6709 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.4103, allocations: 40 kB / 0.671 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.4103, allocations: 24 kB / 0.671 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007353/0.4177, allocations: 1.768 MB / 0.6727 GB, free: 1.176 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.0141/0.4318, allocations: 6.391 MB / 0.679 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.4382, allocations: 1.387 MB / 0.6803 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.4412, allocations: 0.6952 MB / 0.681 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005271/0.4465, allocations: 3.94 MB / 0.6849 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4466, allocations: 38.56 kB / 0.6849 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.324e-06/0.4466, allocations: 3.938 kB / 0.6849 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.009453/0.4561, allocations: 1.983 MB / 0.6868 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4561, allocations: 59.41 kB / 0.6869 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.4582, allocations: 1.313 MB / 0.6882 GB, free: 456 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-05/0.4584, allocations: 37.7 kB / 0.6882 GB, free: 412 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.459, allocations: 0.691 MB / 0.6889 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.4592, allocations: 161.8 kB / 0.689 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.4595, allocations: 186.4 kB / 0.6892 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4597, allocations: 337.9 kB / 0.6895 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/0.4628, allocations: 0.7149 MB / 0.6902 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/0.4661, allocations: 1.071 MB / 0.6913 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005935/0.4721, allocations: 1.628 MB / 0.6929 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.4721, allocations: 4 kB / 0.6929 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.007202/0.4793, allocations: 1.837 MB / 0.6947 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4794, allocations: 8 kB / 0.6947 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.4794, allocations: 12 kB / 0.6947 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.4794, allocations: 16 kB / 0.6947 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.4814, allocations: 395.4 kB / 0.6951 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.4814, allocations: 15.94 kB / 0.6951 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.4838, allocations: 315.2 kB / 0.6954 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4839, allocations: 55.97 kB / 0.6954 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003614/0.4876, allocations: 0.9935 MB / 0.6964 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003378/0.4909, allocations: 1.071 MB / 0.6975 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006153/0.4971, allocations: 1.624 MB / 0.699 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.217e-06/0.4971, allocations: 4 kB / 0.6991 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.007087/0.5042, allocations: 1.829 MB / 0.7008 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5043, allocations: 16.28 kB / 0.7009 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.5043, allocations: 12 kB / 0.7009 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5043, allocations: 16 kB / 0.7009 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.5062, allocations: 395.3 kB / 0.7013 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.5063, allocations: 19.94 kB / 0.7013 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.5085, allocations: 283.7 kB / 0.7015 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.5086, allocations: 55.97 kB / 0.7016 GB, free: 1.996 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.0002843/0.5089, allocations: 235.9 kB / 0.7018 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.5093, allocations: 134.2 kB / 0.702 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00692/0.5162, allocations: 1.783 MB / 0.7037 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.5162, allocations: 16 kB / 0.7037 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5162, allocations: 0 / 0.7037 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005982/0.5222, allocations: 1.548 MB / 0.7052 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008719/0.531, allocations: 3.019 MB / 0.7082 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.531, allocations: 3.984 kB / 0.7082 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.5327, allocations: 287.7 kB / 0.7084 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.5328, allocations: 4 kB / 0.7085 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/0.5328, allocations: 19.98 kB / 0.7085 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.5328, allocations: 4 kB / 0.7085 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5329, allocations: 3.938 kB / 0.7085 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.5434, allocations: 2.448 MB / 0.7109 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007965/0.5442, allocations: 335 kB / 0.7112 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.5445, allocations: 12 kB / 0.7112 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/0.5467, allocations: 211.7 kB / 0.7114 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.5468, allocations: 44.27 kB / 0.7114 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/0.5469, allocations: 27.97 kB / 0.7115 GB, free: 7.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001415/0.5483, allocations: 0.9074 MB / 0.7124 GB, free: 6.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5483, allocations: 3.938 kB / 0.7124 GB, free: 6.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001965/0.5503, allocations: 0.7721 MB / 0.7131 GB, free: 6.004 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.001019/0.5513, allocations: 0.5267 MB / 0.7136 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.5615, allocations: 2.472 MB / 0.716 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5616, allocations: 0 / 0.716 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003189/0.5648, allocations: 0.7487 MB / 0.7168 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.5675, allocations: 0.7192 MB / 0.7175 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.5734, allocations: 2.707 MB / 0.7201 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.5741, allocations: 1.221 MB / 0.7213 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001619/0.5757, allocations: 414.3 kB / 0.7217 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.5761, allocations: 123.4 kB / 0.7218 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5761, allocations: 0 / 0.7218 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.2623/0.8384, allocations: 30.53 MB / 0.7516 GB, free: 155.7 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)