Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.001718/0.001718, allocations: 187 kB / 17.34 MB, free: 5.715 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.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8609/0.8609, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 71.36 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1677, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02037/0.1881, allocations: 17.48 MB / 0.6824 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007884/0.196, allocations: 4.925 MB / 0.6873 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007363/0.1967, allocations: 19.88 kB / 0.6873 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.1977, allocations: 254.4 kB / 0.6875 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.1995, allocations: 0.6375 MB / 0.6881 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.2017, allocations: 0.7296 MB / 0.6888 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2032, allocations: 0.978 MB / 0.6898 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.2037, allocations: 285 kB / 0.6901 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.2045, allocations: 434.2 kB / 0.6905 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004585/0.2049, allocations: 314.6 kB / 0.6908 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.205, allocations: 28 kB / 0.6908 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.2065, allocations: 0.7253 MB / 0.6915 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.2067, allocations: 139.5 kB / 0.6917 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.207, allocations: 242.6 kB / 0.6919 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.2084, allocations: 0.8951 MB / 0.6928 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2084, allocations: 0 / 0.6928 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2085, allocations: 0 / 0.6928 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.2085, allocations: 4 kB / 0.6928 GB, free: 9.574 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001485/0.2099, allocations: 0.8981 MB / 0.6936 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.21, allocations: 13.05 kB / 0.6937 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.2102, allocations: 68.56 kB / 0.6937 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.211, allocations: 465.3 kB / 0.6942 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.211, allocations: 24.56 kB / 0.6942 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.2111, allocations: 28 kB / 0.6942 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.2116, allocations: 282.3 kB / 0.6945 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2116, allocations: 0 / 0.6945 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.2117, allocations: 11.94 kB / 0.6945 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2117, allocations: 8 kB / 0.6945 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.2121, allocations: 190.1 kB / 0.6947 GB, free: 7.504 MB / 0.5294 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.002062/0.2142, allocations: 1.48 MB / 0.6961 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.2145, allocations: 154.7 kB / 0.6963 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2147, allocations: 78.83 kB / 0.6964 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.2164, allocations: 1.284 MB / 0.6976 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2164, allocations: 34.56 kB / 0.6976 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2164, allocations: 0 / 0.6976 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006846/0.2171, allocations: 249.2 kB / 0.6979 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.2172, allocations: 59.34 kB / 0.6979 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.2179, allocations: 0.5848 MB / 0.6985 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2179, allocations: 29.7 kB / 0.6985 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.2182, allocations: 272.5 kB / 0.6988 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2182, allocations: 55.59 kB / 0.6988 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2183, allocations: 69.92 kB / 0.6989 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2185, allocations: 358.8 kB / 0.6993 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2187, allocations: 77.94 kB / 0.6993 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2191, allocations: 211.3 kB / 0.6995 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.2195, allocations: 251.5 kB / 0.6998 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2195, allocations: 4 kB / 0.6998 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006054/0.2201, allocations: 309 kB / 0.7001 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2201, allocations: 4 kB / 0.7001 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2201, allocations: 4 kB / 0.7001 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2202, allocations: 4 kB / 0.7001 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2204, allocations: 72.14 kB / 0.7001 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.2204, allocations: 4 kB / 0.7002 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.2208, allocations: 43.72 kB / 0.7002 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.2208, allocations: 15.98 kB / 0.7002 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000334/0.2211, allocations: 212.6 kB / 0.7004 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003253/0.2215, allocations: 213.5 kB / 0.7006 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004367/0.2219, allocations: 231.4 kB / 0.7008 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.2219, allocations: 4 kB / 0.7008 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000596/0.2225, allocations: 314.8 kB / 0.7011 GB, free: 340 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2225, allocations: 11.94 kB / 0.7012 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.2225, allocations: 3.938 kB / 0.7012 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.2225, allocations: 4 kB / 0.7012 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2227, allocations: 64.16 kB / 0.7012 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2227, allocations: 4 kB / 0.7012 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2231, allocations: 43.81 kB / 0.7013 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2231, allocations: 12 kB / 0.7013 GB, free: 196 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001782/0.2233, allocations: 197.6 kB / 0.7015 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.2234, allocations: 51.67 kB / 0.7015 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.224, allocations: 265.7 kB / 0.7018 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.224, allocations: 4 kB / 0.7018 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.224, allocations: 3.984 kB / 0.7018 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.224, allocations: 0 / 0.7018 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.2252, allocations: 0.7386 MB / 0.7025 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2252, allocations: 0 / 0.7025 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.2253, allocations: 31.92 kB / 0.7025 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2253, allocations: 4.188 kB / 0.7025 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2253, allocations: 4 kB / 0.7025 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.2253, allocations: 7.984 kB / 0.7025 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2253, allocations: 0 / 0.7025 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.2259, allocations: 360.8 kB / 0.7029 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2261, allocations: 148.7 kB / 0.703 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.2261, allocations: 4 kB / 0.703 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.2263, allocations: 15.98 kB / 0.703 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2264, allocations: 15.92 kB / 0.7031 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2264, allocations: 11.94 kB / 0.7031 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004973/0.2269, allocations: 418.8 kB / 0.7035 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2269, allocations: 0 / 0.7035 GB, free: 13.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008033/0.2277, allocations: 235.5 kB / 0.7037 GB, free: 13.58 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001687/0.2294, allocations: 0.4899 MB / 0.7042 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008025/0.2302, allocations: 303.6 kB / 0.7045 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2302, allocations: 0 / 0.7045 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.2304, allocations: 88.83 kB / 0.7046 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2316, allocations: 255.5 kB / 0.7048 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2331, allocations: 0.8452 MB / 0.7056 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.2336, allocations: 0.8467 MB / 0.7064 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2337, allocations: 35.44 kB / 0.7065 GB, free: 10.8 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2337, allocations: 0 / 0.7065 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Templates: time 0.01452/0.2483, allocations: 8.6 MB / 0.7149 GB, free: 2.266 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)