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.001395/0.0014, allocations: 106 kB / 15.98 MB, free: 6.348 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.001585/0.001586, allocations: 189 kB / 16.91 MB, free: 6.188 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8119/0.8119, allocations: 135.1 MB / 425.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.91 kB / 0.5055 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4987, allocations: 80.91 MB / 0.5845 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.04592/0.5447, allocations: 47.77 MB / 0.6312 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02301/0.5678, allocations: 13.28 MB / 0.6441 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/0.5716, allocations: 59.62 kB / 0.6442 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.5754, allocations: 0.8086 MB / 0.645 GB, free: 12.76 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.007414/0.5829, allocations: 1.928 MB / 0.6469 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005999/0.5889, allocations: 1.699 MB / 0.6485 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007837/0.5967, allocations: 4.146 MB / 0.6526 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.6005, allocations: 1.484 MB / 0.654 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.6061, allocations: 1.639 MB / 0.6556 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.609, allocations: 1.229 MB / 0.6568 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007615/0.6098, allocations: 148 kB / 0.657 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/0.6143, allocations: 1.466 MB / 0.6584 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.6154, allocations: 466.5 kB / 0.6588 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.6177, allocations: 0.8475 MB / 0.6597 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.6225, allocations: 2.253 MB / 0.6619 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.6226, allocations: 0 / 0.6619 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6226, allocations: 0 / 0.6619 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.987e-05/0.6227, allocations: 0 / 0.6619 GB, free: 11.41 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.006078/0.6288, allocations: 2.009 MB / 0.6638 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/0.6289, allocations: 21.05 kB / 0.6639 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.639, allocations: 1.29 MB / 0.6651 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.6433, allocations: 1.405 MB / 0.6665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/0.6438, allocations: 133.9 kB / 0.6666 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/0.6443, allocations: 96 kB / 0.6667 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006583/0.6509, allocations: 1.6 MB / 0.6683 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.651, allocations: 7.984 kB / 0.6683 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.6512, allocations: 36 kB / 0.6683 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.6513, allocations: 24 kB / 0.6683 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008813/0.6601, allocations: 1.791 MB / 0.6701 GB, free: 2.852 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.01846/0.6786, allocations: 6.369 MB / 0.6763 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007371/0.6861, allocations: 1.418 MB / 0.6777 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/0.6897, allocations: 0.7225 MB / 0.6784 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007159/0.6969, allocations: 3.948 MB / 0.6822 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.697, allocations: 34.56 kB / 0.6823 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007355/0.6978, allocations: 63.27 kB / 0.6823 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 5.68e-06/0.6978, allocations: 4 kB / 0.6823 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01074/0.7085, allocations: 2.006 MB / 0.6843 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.7086, allocations: 55.41 kB / 0.6844 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.7114, allocations: 1.305 MB / 0.6856 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.7117, allocations: 33.7 kB / 0.6857 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/0.7123, allocations: 0.691 MB / 0.6863 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.7126, allocations: 153.8 kB / 0.6865 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/0.7132, allocations: 198.3 kB / 0.6867 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7133, allocations: 341.9 kB / 0.687 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/0.717, allocations: 0.7306 MB / 0.6877 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/0.7211, allocations: 1.087 MB / 0.6888 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/0.7281, allocations: 1.651 MB / 0.6904 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/0.7282, allocations: 11.88 kB / 0.6904 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.008664/0.7369, allocations: 1.869 MB / 0.6922 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.737, allocations: 12 kB / 0.6922 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.737, allocations: 8 kB / 0.6922 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/0.7371, allocations: 16 kB / 0.6923 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.7394, allocations: 395.4 kB / 0.6926 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-05/0.7395, allocations: 23.92 kB / 0.6927 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/0.7425, allocations: 308 kB / 0.693 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/0.7428, allocations: 47.98 kB / 0.693 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004675/0.7474, allocations: 1.013 MB / 0.694 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004018/0.7515, allocations: 1.079 MB / 0.695 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006937/0.7585, allocations: 1.648 MB / 0.6967 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.82e-05/0.7585, allocations: 4 kB / 0.6967 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.008573/0.7671, allocations: 1.864 MB / 0.6985 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.7672, allocations: 12 kB / 0.6985 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.7672, allocations: 8 kB / 0.6985 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.7673, allocations: 16 kB / 0.6985 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.7695, allocations: 403.6 kB / 0.6989 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.7696, allocations: 23.92 kB / 0.6989 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.7725, allocations: 292.1 kB / 0.6992 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.7728, allocations: 55.97 kB / 0.6992 GB, free: 3.367 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.0004902/0.7733, allocations: 243.8 kB / 0.6995 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/0.7739, allocations: 134.3 kB / 0.6996 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/0.7822, allocations: 1.806 MB / 0.7014 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.7823, allocations: 4 kB / 0.7014 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.7823, allocations: 0 / 0.7014 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006931/0.7892, allocations: 1.583 MB / 0.7029 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.7999, allocations: 3.019 MB / 0.7059 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.8, allocations: 0 / 0.7059 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/0.802, allocations: 283.7 kB / 0.7061 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.802, allocations: 4 kB / 0.7061 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.8022, allocations: 27.91 kB / 0.7062 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.8022, allocations: 4 kB / 0.7062 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.8022, allocations: 3.938 kB / 0.7062 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.8134, allocations: 2.479 MB / 0.7086 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009707/0.8144, allocations: 327.2 kB / 0.7089 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004743/0.8149, allocations: 16 kB / 0.7089 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/0.8174, allocations: 235.6 kB / 0.7092 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8176, allocations: 48.25 kB / 0.7092 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.8177, allocations: 31.97 kB / 0.7092 GB, free: 8.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002101/0.8198, allocations: 0.8918 MB / 0.7101 GB, free: 8.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8198, allocations: 0 / 0.7101 GB, free: 8.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003551/0.8234, allocations: 0.7682 MB / 0.7109 GB, free: 7.293 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.001729/0.8252, allocations: 0.5058 MB / 0.7113 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01236/0.8375, allocations: 2.556 MB / 0.7138 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.8376, allocations: 0 / 0.7138 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/0.8413, allocations: 0.7654 MB / 0.7146 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/0.8457, allocations: 0.7195 MB / 0.7153 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/0.8546, allocations: 3.291 MB / 0.7185 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.8558, allocations: 1.214 MB / 0.7197 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007999/0.8567, allocations: 135.3 kB / 0.7198 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.624e-06/0.8567, allocations: 4 kB / 0.7198 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.05299/0.9097, allocations: 27.7 MB / 0.7469 GB, free: 2.621 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)