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.006294/0.006295, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001655/0.001656, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8095/0.8095, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.66 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1612, allocations: 80.93 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02056/0.1818, allocations: 17.45 MB / 0.6817 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008421/0.1902, allocations: 4.921 MB / 0.6865 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008188/0.1911, allocations: 19.88 kB / 0.6865 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1922, allocations: 250.4 kB / 0.6867 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.1944, allocations: 0.6414 MB / 0.6874 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.1968, allocations: 0.7294 MB / 0.6881 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.1985, allocations: 0.9624 MB / 0.689 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.1992, allocations: 344.9 kB / 0.6894 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.2002, allocations: 430.2 kB / 0.6898 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.2009, allocations: 306.6 kB / 0.6901 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.201, allocations: 35.94 kB / 0.6901 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.2024, allocations: 0.7292 MB / 0.6908 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.2027, allocations: 135.6 kB / 0.6909 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.203, allocations: 238.6 kB / 0.6912 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2046, allocations: 0.884 MB / 0.692 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.2046, allocations: 7.984 kB / 0.692 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2046, allocations: 0 / 0.692 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.2047, allocations: 0 / 0.692 GB, free: 9.652 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.001594/0.2063, allocations: 0.8719 MB / 0.6929 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2063, allocations: 13.11 kB / 0.6929 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.2065, allocations: 60.28 kB / 0.693 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.2074, allocations: 468.8 kB / 0.6934 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2074, allocations: 28.5 kB / 0.6934 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.2075, allocations: 28 kB / 0.6935 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.2081, allocations: 278.3 kB / 0.6937 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2081, allocations: 0 / 0.6937 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2081, allocations: 12 kB / 0.6937 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2081, allocations: 4 kB / 0.6937 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.2086, allocations: 202 kB / 0.6939 GB, free: 7.602 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.002039/0.2106, allocations: 1.472 MB / 0.6954 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.211, allocations: 170.7 kB / 0.6955 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2112, allocations: 84.78 kB / 0.6956 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.2128, allocations: 1.276 MB / 0.6969 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2128, allocations: 30.56 kB / 0.6969 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2128, allocations: 0 / 0.6969 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006688/0.2135, allocations: 251.1 kB / 0.6971 GB, free: 4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2136, allocations: 55.41 kB / 0.6972 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.2144, allocations: 0.5886 MB / 0.6978 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.2144, allocations: 29.7 kB / 0.6978 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.2146, allocations: 276 kB / 0.698 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.2147, allocations: 51.3 kB / 0.6981 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2148, allocations: 69.88 kB / 0.6982 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.215, allocations: 358.8 kB / 0.6985 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.2152, allocations: 81.94 kB / 0.6986 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.2156, allocations: 206.8 kB / 0.6988 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.216, allocations: 251.4 kB / 0.699 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.216, allocations: 0 / 0.699 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005939/0.2166, allocations: 305 kB / 0.6993 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2166, allocations: 4 kB / 0.6993 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2166, allocations: 4 kB / 0.6993 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2166, allocations: 7.938 kB / 0.6993 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.2169, allocations: 63.98 kB / 0.6994 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2169, allocations: 7.938 kB / 0.6994 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.2173, allocations: 47.58 kB / 0.6994 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.2173, allocations: 15.98 kB / 0.6995 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003139/0.2176, allocations: 216.7 kB / 0.6997 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000281/0.2179, allocations: 201.6 kB / 0.6999 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004295/0.2184, allocations: 239.5 kB / 0.7001 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.2184, allocations: 0 / 0.7001 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006189/0.219, allocations: 321 kB / 0.7004 GB, free: 436 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.219, allocations: 8 kB / 0.7004 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.219, allocations: 0 / 0.7004 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.2191, allocations: 4 kB / 0.7004 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2193, allocations: 59.91 kB / 0.7005 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2193, allocations: 4 kB / 0.7005 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.2196, allocations: 39.81 kB / 0.7005 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2197, allocations: 12 kB / 0.7005 GB, free: 308 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.0001215/0.2198, allocations: 200.2 kB / 0.7007 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.2199, allocations: 51.34 kB / 0.7007 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.2205, allocations: 267.1 kB / 0.701 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2205, allocations: 0 / 0.701 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2205, allocations: 0 / 0.701 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2205, allocations: 3.984 kB / 0.701 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2217, allocations: 0.7394 MB / 0.7017 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2217, allocations: 0 / 0.7017 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2218, allocations: 36.02 kB / 0.7018 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2218, allocations: 7.938 kB / 0.7018 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2219, allocations: 4.125 kB / 0.7018 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2219, allocations: 8 kB / 0.7018 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2219, allocations: 3.984 kB / 0.7018 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.2224, allocations: 352.4 kB / 0.7021 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2225, allocations: 156.3 kB / 0.7023 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.2226, allocations: 4 kB / 0.7023 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2228, allocations: 11.98 kB / 0.7023 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2229, allocations: 15.92 kB / 0.7023 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2229, allocations: 8 kB / 0.7023 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004599/0.2234, allocations: 418.8 kB / 0.7027 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2234, allocations: 4 kB / 0.7027 GB, free: 13.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007563/0.2242, allocations: 231.7 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.00125/0.2254, allocations: 485.9 kB / 0.7034 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000746/0.2262, allocations: 320.3 kB / 0.7037 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2262, allocations: 4.25 kB / 0.7037 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.2264, allocations: 87.83 kB / 0.7038 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.2277, allocations: 249.8 kB / 0.704 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2292, allocations: 0.8092 MB / 0.7048 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.2297, allocations: 0.8389 MB / 0.7056 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.2301, allocations: 108.3 kB / 0.7057 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.2302, allocations: 43.42 kB / 0.7058 GB, free: 10.84 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.2302, allocations: 0 / 0.7058 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Templates: time 0.01808/0.2483, allocations: 10.23 MB / 0.7158 GB, free: 0.7422 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)