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.006845/0.006846, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001331/0.001331, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8137/0.8137, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.95 kB / 0.5856 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1647, allocations: 80.93 MB / 0.6647 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01838/0.1832, allocations: 17.45 MB / 0.6817 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00682/0.19, allocations: 4.922 MB / 0.6865 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.1906, allocations: 11.94 kB / 0.6865 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.1914, allocations: 250.4 kB / 0.6868 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.193, allocations: 0.6129 MB / 0.6873 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1951, allocations: 0.7296 MB / 0.6881 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1962, allocations: 0.9741 MB / 0.689 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.1967, allocations: 328.9 kB / 0.6893 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.1973, allocations: 418.3 kB / 0.6897 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.1977, allocations: 318.6 kB / 0.69 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.1978, allocations: 28 kB / 0.6901 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.199, allocations: 0.7253 MB / 0.6908 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1991, allocations: 135.5 kB / 0.6909 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.1994, allocations: 238.7 kB / 0.6911 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2006, allocations: 0.8989 MB / 0.692 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2006, allocations: 0 / 0.692 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2006, allocations: 0 / 0.692 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.2006, allocations: 0 / 0.692 GB, free: 9.695 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.001295/0.2019, allocations: 0.9098 MB / 0.6929 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.202, allocations: 9.109 kB / 0.6929 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.2022, allocations: 64.56 kB / 0.693 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.203, allocations: 457.4 kB / 0.6934 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.203, allocations: 20.56 kB / 0.6934 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.203, allocations: 28 kB / 0.6934 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.2036, allocations: 294.2 kB / 0.6937 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2036, allocations: 0 / 0.6937 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2037, allocations: 8 kB / 0.6937 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2037, allocations: 8 kB / 0.6937 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.2041, allocations: 190.1 kB / 0.6939 GB, free: 7.621 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.001956/0.2061, allocations: 1.488 MB / 0.6954 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.2064, allocations: 170.6 kB / 0.6955 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.2066, allocations: 82.53 kB / 0.6956 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.2081, allocations: 1.272 MB / 0.6969 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2081, allocations: 38.48 kB / 0.6969 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.2081, allocations: 0 / 0.6969 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006922/0.2088, allocations: 259.7 kB / 0.6971 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2089, allocations: 51.41 kB / 0.6972 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.2095, allocations: 0.5848 MB / 0.6978 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2096, allocations: 33.7 kB / 0.6978 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.2098, allocations: 272.4 kB / 0.6981 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.2098, allocations: 51.59 kB / 0.6981 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.2099, allocations: 73.92 kB / 0.6982 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2101, allocations: 354.8 kB / 0.6985 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2103, allocations: 81.92 kB / 0.6986 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.2106, allocations: 214.7 kB / 0.6988 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.211, allocations: 235.8 kB / 0.699 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.211, allocations: 0 / 0.699 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005611/0.2116, allocations: 316.9 kB / 0.6993 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2116, allocations: 8 kB / 0.6993 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2116, allocations: 0 / 0.6993 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2116, allocations: 4 kB / 0.6993 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2119, allocations: 63.91 kB / 0.6994 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2119, allocations: 8.188 kB / 0.6994 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.2122, allocations: 51.7 kB / 0.6994 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.2122, allocations: 12 kB / 0.6995 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002942/0.2125, allocations: 212.6 kB / 0.6997 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002795/0.2128, allocations: 217.5 kB / 0.6999 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003978/0.2132, allocations: 243.4 kB / 0.7001 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.2132, allocations: 192 / 0.7001 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000569/0.2138, allocations: 309 kB / 0.7004 GB, free: 436 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/0.2138, allocations: 11.88 kB / 0.7004 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2138, allocations: 7.984 kB / 0.7004 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.2139, allocations: 4 kB / 0.7004 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2141, allocations: 59.91 kB / 0.7005 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2141, allocations: 8.188 kB / 0.7005 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.2144, allocations: 47.81 kB / 0.7005 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2144, allocations: 8 kB / 0.7005 GB, free: 288 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.0001299/0.2146, allocations: 200.1 kB / 0.7007 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.2147, allocations: 51.67 kB / 0.7008 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.2153, allocations: 255.5 kB / 0.701 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2153, allocations: 4 kB / 0.701 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2153, allocations: 0 / 0.701 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2153, allocations: 3.938 kB / 0.701 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.2163, allocations: 0.7318 MB / 0.7017 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2163, allocations: 4 kB / 0.7017 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2165, allocations: 31.97 kB / 0.7018 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2165, allocations: 0 / 0.7018 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2165, allocations: 8 kB / 0.7018 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2165, allocations: 0 / 0.7018 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2165, allocations: 7.938 kB / 0.7018 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.217, allocations: 354.5 kB / 0.7021 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2172, allocations: 144.8 kB / 0.7023 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.2172, allocations: 0 / 0.7023 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2174, allocations: 15.98 kB / 0.7023 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.2175, allocations: 23.86 kB / 0.7023 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.2175, allocations: 15.92 kB / 0.7023 GB, free: 14.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004566/0.218, allocations: 414.8 kB / 0.7027 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.218, allocations: 0 / 0.7027 GB, free: 13.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007403/0.2187, allocations: 235.5 kB / 0.7029 GB, free: 13.69 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.001129/0.2198, allocations: 0.4914 MB / 0.7034 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007198/0.2206, allocations: 325.8 kB / 0.7037 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.2206, allocations: 4 kB / 0.7037 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.2208, allocations: 83.89 kB / 0.7038 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.222, allocations: 255.9 kB / 0.7041 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2232, allocations: 0.8161 MB / 0.7049 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.2236, allocations: 0.8389 MB / 0.7057 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000302/0.2239, allocations: 100.7 kB / 0.7058 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.224, allocations: 39.44 kB / 0.7058 GB, free: 10.81 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.224, allocations: 0 / 0.7058 GB, free: 10.81 MB / 0.545 GB Notification: Performance of Templates: time 0.01659/0.2406, allocations: 10.24 MB / 0.7158 GB, free: 0.7109 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)