Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008112/0.0008112, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008339/0.0008339, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 14.22 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3557, allocations: 81.56 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01555/0.3713, allocations: 14.23 MB / 0.597 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006419/0.3777, allocations: 4.057 MB / 0.6009 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.3785, allocations: 14.16 kB / 0.6009 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.3795, allocations: 200.5 kB / 0.6011 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3812, allocations: 0.4926 MB / 0.6016 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.383, allocations: 0.5983 MB / 0.6022 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.3845, allocations: 1.123 MB / 0.6033 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/0.385, allocations: 266.1 kB / 0.6035 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.3857, allocations: 373.8 kB / 0.6039 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.3863, allocations: 300.7 kB / 0.6042 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.3864, allocations: 14.16 kB / 0.6042 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3874, allocations: 0.5368 MB / 0.6047 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.3876, allocations: 78.28 kB / 0.6048 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3877, allocations: 109.7 kB / 0.6049 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.3884, allocations: 0.5202 MB / 0.6054 GB, free: 4.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3884, allocations: 5.625 kB / 0.6054 GB, free: 4.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3885, allocations: 0 / 0.6054 GB, free: 4.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3885, allocations: 0 / 0.6054 GB, free: 4.309 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.001169/0.3896, allocations: 0.754 MB / 0.6062 GB, free: 3.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3897, allocations: 12.41 kB / 0.6062 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3898, allocations: 54.66 kB / 0.6062 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.3904, allocations: 402.1 kB / 0.6066 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3904, allocations: 20.31 kB / 0.6066 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.3905, allocations: 26.62 kB / 0.6066 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.3909, allocations: 216.5 kB / 0.6069 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3909, allocations: 0 / 0.6069 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.391, allocations: 6.125 kB / 0.6069 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.391, allocations: 9.594 kB / 0.6069 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.3914, allocations: 173.6 kB / 0.607 GB, free: 3.035 MB / 446.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.001542/0.3929, allocations: 0.9477 MB / 0.608 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3932, allocations: 135.7 kB / 0.6081 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3934, allocations: 81.08 kB / 0.6082 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.3936, allocations: 337.2 kB / 0.6085 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3937, allocations: 32.28 kB / 0.6085 GB, free: 1.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3937, allocations: 4 kB / 0.6085 GB, free: 1.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006111/0.3943, allocations: 261.6 kB / 0.6088 GB, free: 1.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.3943, allocations: 53.53 kB / 0.6088 GB, free: 1.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.3949, allocations: 474.4 kB / 0.6093 GB, free: 1.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3949, allocations: 36.02 kB / 0.6093 GB, free: 1.172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3951, allocations: 232.8 kB / 0.6095 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3951, allocations: 40.77 kB / 0.6096 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.3951, allocations: 5 kB / 0.6096 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3952, allocations: 353.6 kB / 0.6099 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3954, allocations: 74.3 kB / 0.61 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.3957, allocations: 147.9 kB / 0.6101 GB, free: 444 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3959, allocations: 85.95 kB / 0.6102 GB, free: 404 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3959, allocations: 1.281 kB / 0.6102 GB, free: 404 kB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005007/0.3964, allocations: 261.9 kB / 0.6105 GB, free: 264 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.3965, allocations: 108.9 kB / 0.6106 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3965, allocations: 1 kB / 0.6106 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3965, allocations: 1.594 kB / 0.6106 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.3967, allocations: 50.03 kB / 0.6106 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3968, allocations: 1.281 kB / 0.6106 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3971, allocations: 51.97 kB / 0.6107 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3971, allocations: 11.22 kB / 0.6107 GB, free: 100 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.3971, allocations: 4.344 kB / 0.6107 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004092/0.3976, allocations: 192.8 kB / 0.6109 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.3976, allocations: 0 / 0.6109 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.3976, allocations: 1.625 kB / 0.6109 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3978, allocations: 52.94 kB / 0.6109 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3978, allocations: 10.58 kB / 0.6109 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3981, allocations: 42.66 kB / 0.611 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3982, allocations: 7.188 kB / 0.611 GB, free: 15.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.3984, allocations: 239.8 kB / 0.6112 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.3984, allocations: 46.72 kB / 0.6112 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005268/0.399, allocations: 263.8 kB / 0.6115 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.399, allocations: 2.5 kB / 0.6115 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.399, allocations: 3.953 kB / 0.6115 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.399, allocations: 5.359 kB / 0.6115 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009545/0.4, allocations: 0.7053 MB / 0.6122 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4, allocations: 9.094 kB / 0.6122 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.4001, allocations: 32.75 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4001, allocations: 1.812 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4002, allocations: 8.062 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4002, allocations: 2.062 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4002, allocations: 1.531 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.4006, allocations: 353 kB / 0.6126 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.4008, allocations: 147.2 kB / 0.6127 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.4009, allocations: 9.422 kB / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4011, allocations: 25.81 kB / 0.6128 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.4011, allocations: 10.89 kB / 0.6128 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4012, allocations: 4.781 kB / 0.6128 GB, free: 14.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.4015, allocations: 336.5 kB / 0.6131 GB, free: 14.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4015, allocations: 1.094 kB / 0.6131 GB, free: 14.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000664/0.4022, allocations: 205.2 kB / 0.6133 GB, free: 14.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.4032, allocations: 479 kB / 0.6137 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006227/0.4039, allocations: 281.1 kB / 0.614 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4039, allocations: 1 kB / 0.614 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.4041, allocations: 87.86 kB / 0.6141 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4053, allocations: 224.9 kB / 0.6143 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.4064, allocations: 0.8467 MB / 0.6151 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.4068, allocations: 0.8185 MB / 0.6159 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.4071, allocations: 93.52 kB / 0.616 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.4072, allocations: 40.58 kB / 0.6161 GB, free: 12.39 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4072, allocations: 0 / 0.6161 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Templates: time 0.01392/0.4211, allocations: 8.051 MB / 0.6239 GB, free: 6.457 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)