Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001458/0.001458, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.103/1.103, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.91 kB / 0.5047 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2225, allocations: 80.92 MB / 0.5837 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4934/0.7159, allocations: 153.3 MB / 0.7334 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04578/0.7617, allocations: 30.44 MB / 0.7632 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007976/0.7698, allocations: 131.1 kB / 0.7633 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.7737, allocations: 0.8194 MB / 0.7641 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.7848, allocations: 2.896 MB / 0.7669 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006838/0.7917, allocations: 2.287 MB / 0.7692 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00882/0.8005, allocations: 7.384 MB / 0.7764 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/0.8039, allocations: 1.897 MB / 0.7782 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.8095, allocations: 2.427 MB / 0.7806 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.8134, allocations: 1.976 MB / 0.7825 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000652/0.814, allocations: 124 kB / 0.7826 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.8176, allocations: 0.9632 MB / 0.7836 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.8181, allocations: 477.8 kB / 0.784 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.8196, allocations: 1.173 MB / 0.7852 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.8234, allocations: 3.189 MB / 0.7883 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.8235, allocations: 0 / 0.7883 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.777e-06/0.8235, allocations: 0 / 0.7883 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.43e-05/0.8235, allocations: 7.938 kB / 0.7883 GB, free: 14.04 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005495/0.829, allocations: 2.79 MB / 0.791 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.8291, allocations: 8.031 kB / 0.791 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.8295, allocations: 268.8 kB / 0.7913 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.8317, allocations: 1.438 MB / 0.7927 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.8318, allocations: 102.3 kB / 0.7928 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.832, allocations: 136 kB / 0.7929 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.8341, allocations: 1.163 MB / 0.7941 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8342, allocations: 4 kB / 0.7941 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8343, allocations: 44 kB / 0.7941 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.8343, allocations: 28 kB / 0.7941 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.8361, allocations: 1.016 MB / 0.7951 GB, free: 6.879 MB / 0.6075 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.01018/0.8463, allocations: 6.322 MB / 0.8013 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.8474, allocations: 0.5688 MB / 0.8019 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.848, allocations: 384.4 kB / 0.8022 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.8485, allocations: 0.4992 MB / 0.8027 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.8485, allocations: 43.12 kB / 0.8028 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001851/0.8504, allocations: 330.8 kB / 0.8031 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.457e-06/0.8504, allocations: 3.938 kB / 0.8031 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002449/0.8529, allocations: 1.125 MB / 0.8042 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.8529, allocations: 63.91 kB / 0.8042 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.8557, allocations: 1.892 MB / 0.8061 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.8558, allocations: 45.7 kB / 0.8061 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007656/0.8566, allocations: 0.9185 MB / 0.807 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.8568, allocations: 209.1 kB / 0.8072 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/0.8572, allocations: 298.6 kB / 0.8075 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8574, allocations: 349.9 kB / 0.8078 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008658/0.8583, allocations: 445.9 kB / 0.8083 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8594, allocations: 0.6801 MB / 0.8089 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.861, allocations: 0.9539 MB / 0.8099 GB, free: 7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8611, allocations: 4 kB / 0.8099 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002785/0.8639, allocations: 1.396 MB / 0.8112 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8639, allocations: 4.375 kB / 0.8112 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8639, allocations: 8 kB / 0.8112 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.8639, allocations: 8 kB / 0.8112 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.8652, allocations: 287.5 kB / 0.8115 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.8652, allocations: 11.94 kB / 0.8115 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.8671, allocations: 151.5 kB / 0.8117 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.8673, allocations: 67.95 kB / 0.8117 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001432/0.8687, allocations: 0.7017 MB / 0.8124 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009719/0.8697, allocations: 0.661 MB / 0.8131 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001518/0.8712, allocations: 0.9071 MB / 0.814 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.8712, allocations: 0 / 0.814 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00271/0.874, allocations: 1.354 MB / 0.8153 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.874, allocations: 11.98 kB / 0.8153 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.874, allocations: 0 / 0.8153 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.874, allocations: 12 kB / 0.8153 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.8752, allocations: 275.6 kB / 0.8156 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.8752, allocations: 11.98 kB / 0.8156 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.8771, allocations: 167.7 kB / 0.8157 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.8772, allocations: 55.95 kB / 0.8158 GB, free: 0.7852 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * 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.0003658/0.8776, allocations: 236 kB / 0.816 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.8779, allocations: 197.5 kB / 0.8162 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.8802, allocations: 1.072 MB / 0.8172 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.8803, allocations: 8 kB / 0.8173 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.8803, allocations: 3.938 kB / 0.8173 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8803, allocations: 3.984 kB / 0.8173 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.8844, allocations: 2.402 MB / 0.8196 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.8844, allocations: 3.938 kB / 0.8196 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.885, allocations: 131.9 kB / 0.8197 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.8851, allocations: 8.031 kB / 0.8197 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.8851, allocations: 27.92 kB / 0.8198 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.8851, allocations: 7.984 kB / 0.8198 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.8851, allocations: 7.938 kB / 0.8198 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.8869, allocations: 1.054 MB / 0.8208 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/0.8877, allocations: 354.4 kB / 0.8212 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.888, allocations: 12 kB / 0.8212 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.889, allocations: 99.61 kB / 0.8213 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.8891, allocations: 52.58 kB / 0.8213 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.8892, allocations: 20 kB / 0.8213 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001881/0.8911, allocations: 1.256 MB / 0.8226 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8911, allocations: 0 / 0.8226 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002824/0.8939, allocations: 0.8966 MB / 0.8234 GB, free: 8.789 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008849/0.8948, allocations: 351 kB / 0.8238 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.8979, allocations: 1.594 MB / 0.8253 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8979, allocations: 4 kB / 0.8253 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.8986, allocations: 401 kB / 0.8257 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006087/0.9047, allocations: 1.141 MB / 0.8268 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.9121, allocations: 3.702 MB / 0.8304 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.9139, allocations: 1.409 MB / 0.8318 GB, free: 148 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002599/0.9165, allocations: 398.4 kB / 0.8322 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/0.9171, allocations: 159.4 kB / 0.8323 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of SimCode: time 1.873e-06/0.9172, allocations: 4 kB / 0.8324 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.4227/1.34, allocations: 37.28 MB / 0.8688 GB, free: 215.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)