Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.001211/0.001211, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.239/1.239, allocations: 222.9 MB / 241 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.776/0.776, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 80.92 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0109/0.3027, allocations: 15.56 MB / 0.601 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.3071, allocations: 4.325 MB / 0.6052 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.3075, allocations: 15.88 kB / 0.6052 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.3081, allocations: 266.3 kB / 0.6054 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009788/0.3092, allocations: 0.6052 MB / 0.606 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3105, allocations: 0.7054 MB / 0.6067 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.3113, allocations: 1.031 MB / 0.6077 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.3116, allocations: 330.8 kB / 0.608 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.3121, allocations: 434.2 kB / 0.6085 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3124, allocations: 315.4 kB / 0.6088 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.3124, allocations: 24 kB / 0.6088 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.3132, allocations: 0.6295 MB / 0.6094 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.3133, allocations: 103.5 kB / 0.6095 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3134, allocations: 226.7 kB / 0.6097 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.3141, allocations: 0.7709 MB / 0.6105 GB, free: 1.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3141, allocations: 2.562 kB / 0.6105 GB, free: 1.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3141, allocations: 0 / 0.6105 GB, free: 1.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3141, allocations: 0 / 0.6105 GB, free: 1.262 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008877/0.315, allocations: 0.8335 MB / 0.6113 GB, free: 388 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.315, allocations: 9.828 kB / 0.6113 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.3151, allocations: 56.28 kB / 0.6113 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.3157, allocations: 427.1 kB / 0.6118 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3157, allocations: 20.44 kB / 0.6118 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3157, allocations: 32 kB / 0.6118 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3161, allocations: 215.2 kB / 0.612 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3162, allocations: 3.938 kB / 0.612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3162, allocations: 8 kB / 0.612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3162, allocations: 4 kB / 0.612 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.3166, allocations: 165 kB / 0.6122 GB, free: 15.43 MB / 462.1 MB 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.001421/0.318, allocations: 0.9485 MB / 0.6131 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.3183, allocations: 134.1 kB / 0.6132 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3184, allocations: 68.81 kB / 0.6133 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.3187, allocations: 340.3 kB / 0.6136 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.3187, allocations: 38.56 kB / 0.6137 GB, free: 13.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3187, allocations: 0 / 0.6137 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005561/0.3193, allocations: 237 kB / 0.6139 GB, free: 13.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3193, allocations: 55.41 kB / 0.6139 GB, free: 13.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.3198, allocations: 478 kB / 0.6144 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.3198, allocations: 33.69 kB / 0.6144 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.32, allocations: 224.6 kB / 0.6146 GB, free: 12.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.32, allocations: 55.33 kB / 0.6147 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.3201, allocations: 57.7 kB / 0.6148 GB, free: 12.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3202, allocations: 354.7 kB / 0.6151 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.3204, allocations: 76.75 kB / 0.6152 GB, free: 12.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3207, allocations: 162 kB / 0.6153 GB, free: 11.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.321, allocations: 160.3 kB / 0.6155 GB, free: 11.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.321, allocations: 0 / 0.6155 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004698/0.3215, allocations: 255.3 kB / 0.6157 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3215, allocations: 4 kB / 0.6157 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3215, allocations: 4 kB / 0.6157 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3215, allocations: 4 kB / 0.6157 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3218, allocations: 43.97 kB / 0.6158 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3218, allocations: 7.938 kB / 0.6158 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.3221, allocations: 39.66 kB / 0.6158 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3221, allocations: 11.94 kB / 0.6158 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002435/0.3223, allocations: 188.1 kB / 0.616 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002213/0.3226, allocations: 161.4 kB / 0.6162 GB, free: 11.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002999/0.3229, allocations: 171.1 kB / 0.6163 GB, free: 10.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.3229, allocations: 0 / 0.6163 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004606/0.3234, allocations: 249 kB / 0.6166 GB, free: 10.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3234, allocations: 11.98 kB / 0.6166 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.3234, allocations: 3.938 kB / 0.6166 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.3234, allocations: 4 kB / 0.6166 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3236, allocations: 47.97 kB / 0.6166 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.3236, allocations: 4 kB / 0.6166 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3239, allocations: 31.88 kB / 0.6167 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.324, allocations: 12 kB / 0.6167 GB, free: 10.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001127/0.3241, allocations: 194.3 kB / 0.6169 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.3241, allocations: 43.62 kB / 0.6169 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/0.3247, allocations: 255.2 kB / 0.6171 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3247, allocations: 4 kB / 0.6171 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3247, allocations: 0 / 0.6171 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3247, allocations: 0 / 0.6171 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.3257, allocations: 0.7083 MB / 0.6178 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3257, allocations: 0 / 0.6178 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3259, allocations: 35.91 kB / 0.6179 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3259, allocations: 7.938 kB / 0.6179 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3259, allocations: 4 kB / 0.6179 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3259, allocations: 4 kB / 0.6179 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3259, allocations: 0 / 0.6179 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.3263, allocations: 345 kB / 0.6182 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3265, allocations: 136.5 kB / 0.6183 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.3266, allocations: 11.94 kB / 0.6184 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3268, allocations: 15.92 kB / 0.6184 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.3268, allocations: 15.98 kB / 0.6184 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3269, allocations: 11.92 kB / 0.6184 GB, free: 8.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.3272, allocations: 334.9 kB / 0.6187 GB, free: 8.281 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3272, allocations: 0 / 0.6187 GB, free: 8.281 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006344/0.3279, allocations: 195.7 kB / 0.6189 GB, free: 8.09 MB / 462.1 MB 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 (16): * Single equations (assignments): 14 * 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.00102/0.3289, allocations: 474.7 kB / 0.6194 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006148/0.3295, allocations: 278 kB / 0.6196 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3295, allocations: 0 / 0.6196 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.3297, allocations: 90.94 kB / 0.6197 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/0.3307, allocations: 204 kB / 0.6199 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3318, allocations: 0.6974 MB / 0.6206 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3321, allocations: 0.8234 MB / 0.6214 GB, free: 5.648 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3324, allocations: 89.72 kB / 0.6215 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.3325, allocations: 39.42 kB / 0.6215 GB, free: 5.523 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3325, allocations: 0 / 0.6215 GB, free: 5.523 MB / 462.1 MB Notification: Performance of Templates: time 0.01489/0.3474, allocations: 8.492 MB / 0.6298 GB, free: 13.17 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)