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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002795/0.002795, allocations: 191.8 kB / 16.14 MB, free: 6.691 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9948/0.9948, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 68.14 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2102, allocations: 80.92 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03305/0.2433, allocations: 17.38 MB / 0.6007 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3605/0.6038, allocations: 4.94 MB / 0.6055 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.6046, allocations: 13.5 kB / 0.6055 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.6054, allocations: 215.3 kB / 0.6057 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.6067, allocations: 0.5506 MB / 0.6063 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.6084, allocations: 0.6509 MB / 0.6069 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.6094, allocations: 1.273 MB / 0.6081 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.6098, allocations: 295.2 kB / 0.6084 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.6104, allocations: 374.9 kB / 0.6088 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.6107, allocations: 321.3 kB / 0.6091 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.6107, allocations: 20.97 kB / 0.6091 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.6118, allocations: 0.697 MB / 0.6098 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.6119, allocations: 124.4 kB / 0.6099 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.6121, allocations: 242.4 kB / 0.6101 GB, free: 36.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.6129, allocations: 0.8586 MB / 0.611 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6129, allocations: 0 / 0.611 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6129, allocations: 0 / 0.611 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.6129, allocations: 0 / 0.611 GB, free: 35.92 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001078/0.614, allocations: 0.8744 MB / 0.6118 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6141, allocations: 8.594 kB / 0.6118 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.6142, allocations: 63.81 kB / 0.6119 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.6147, allocations: 442.8 kB / 0.6123 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.6148, allocations: 24.28 kB / 0.6123 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.6148, allocations: 29.75 kB / 0.6124 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.6153, allocations: 285.6 kB / 0.6126 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6153, allocations: 0 / 0.6126 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.6153, allocations: 11.06 kB / 0.6127 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6153, allocations: 10.22 kB / 0.6127 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.6157, allocations: 188.8 kB / 0.6128 GB, free: 34.95 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.001578/0.6173, allocations: 1.484 MB / 0.6143 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.6176, allocations: 159.9 kB / 0.6144 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.6178, allocations: 88.14 kB / 0.6145 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.6191, allocations: 1.275 MB / 0.6158 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6191, allocations: 31.81 kB / 0.6158 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.6191, allocations: 2.719 kB / 0.6158 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005968/0.6197, allocations: 247.5 kB / 0.616 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.6198, allocations: 57.19 kB / 0.6161 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.6203, allocations: 0.5837 MB / 0.6167 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.6204, allocations: 32.73 kB / 0.6167 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.6205, allocations: 268.8 kB / 0.617 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.6205, allocations: 59.2 kB / 0.617 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.6206, allocations: 72.03 kB / 0.6171 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.6207, allocations: 357.5 kB / 0.6174 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.6209, allocations: 84.92 kB / 0.6175 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.6211, allocations: 213.3 kB / 0.6177 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.6215, allocations: 232.8 kB / 0.6179 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6215, allocations: 2.812 kB / 0.6179 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000499/0.622, allocations: 312.1 kB / 0.6182 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.622, allocations: 9.406 kB / 0.6182 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.622, allocations: 2.656 kB / 0.6182 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6221, allocations: 2.781 kB / 0.6182 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.6223, allocations: 65.19 kB / 0.6183 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.6223, allocations: 5.938 kB / 0.6183 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.6226, allocations: 50.98 kB / 0.6184 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.6227, allocations: 15.48 kB / 0.6184 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000269/0.6229, allocations: 213.4 kB / 0.6186 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000246/0.6232, allocations: 209.3 kB / 0.6188 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003257/0.6235, allocations: 235.3 kB / 0.619 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.6236, allocations: 0 / 0.619 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000509/0.6241, allocations: 308.8 kB / 0.6193 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.6241, allocations: 5.781 kB / 0.6193 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.6241, allocations: 2.938 kB / 0.6193 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.6241, allocations: 10.03 kB / 0.6193 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.6243, allocations: 65.2 kB / 0.6194 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.6243, allocations: 9.625 kB / 0.6194 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.6247, allocations: 45.22 kB / 0.6194 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.6247, allocations: 11.41 kB / 0.6194 GB, free: 31.38 MB / 0.4981 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 7.802e-05/0.6248, allocations: 199.4 kB / 0.6196 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.6248, allocations: 55.59 kB / 0.6197 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.6253, allocations: 256.8 kB / 0.6199 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6254, allocations: 0 / 0.6199 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6254, allocations: 0 / 0.6199 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6254, allocations: 6.203 kB / 0.6199 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.6262, allocations: 0.7314 MB / 0.6206 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6263, allocations: 2.594 kB / 0.6207 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6264, allocations: 35.69 kB / 0.6207 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6264, allocations: 5.312 kB / 0.6207 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.6264, allocations: 2.719 kB / 0.6207 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6264, allocations: 2.844 kB / 0.6207 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6264, allocations: 5.312 kB / 0.6207 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.6268, allocations: 358.5 kB / 0.621 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6269, allocations: 145.7 kB / 0.6212 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.627, allocations: 7.562 kB / 0.6212 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.6272, allocations: 15.7 kB / 0.6212 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.6273, allocations: 13.22 kB / 0.6212 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.6273, allocations: 9.719 kB / 0.6212 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003483/0.6276, allocations: 424 kB / 0.6216 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6276, allocations: 2.719 kB / 0.6216 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007102/0.6284, allocations: 230.3 kB / 0.6219 GB, free: 30.33 MB / 0.4981 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.001031/0.6294, allocations: 0.4888 MB / 0.6223 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006306/0.63, allocations: 312.7 kB / 0.6226 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.63, allocations: 0 / 0.6226 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.6302, allocations: 92.95 kB / 0.6227 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.6315, allocations: 261.5 kB / 0.623 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.6327, allocations: 0.9552 MB / 0.6239 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.633, allocations: 0.8382 MB / 0.6247 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.6334, allocations: 113.7 kB / 0.6248 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.6335, allocations: 38.31 kB / 0.6249 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.6335, allocations: 3 kB / 0.6249 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.01699/0.6505, allocations: 9.882 MB / 0.6345 GB, free: 27.93 MB / 0.4981 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)