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.001618/0.001618, allocations: 106.9 kB / 16.27 MB, free: 6.109 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.001534/0.001534, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.818/0.818, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.91 kB / 0.506 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3628, allocations: 80.92 MB / 0.5851 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01136/0.3742, allocations: 15.54 MB / 0.6002 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.3787, allocations: 4.329 MB / 0.6045 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.3791, allocations: 18.47 kB / 0.6045 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.3799, allocations: 258.3 kB / 0.6047 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3809, allocations: 0.6041 MB / 0.6053 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3822, allocations: 0.701 MB / 0.606 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007619/0.383, allocations: 1.027 MB / 0.607 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.3834, allocations: 345.8 kB / 0.6073 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.3838, allocations: 420.3 kB / 0.6077 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.3841, allocations: 318.6 kB / 0.608 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.3842, allocations: 28 kB / 0.6081 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.385, allocations: 0.625 MB / 0.6087 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.3851, allocations: 99.59 kB / 0.6088 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3853, allocations: 226.7 kB / 0.609 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.386, allocations: 0.7681 MB / 0.6097 GB, free: 1.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.386, allocations: 0 / 0.6097 GB, free: 1.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.386, allocations: 0 / 0.6097 GB, free: 1.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.386, allocations: 0.5938 kB / 0.6097 GB, free: 1.371 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.0009111/0.3869, allocations: 0.824 MB / 0.6105 GB, free: 0.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.387, allocations: 9.109 kB / 0.6106 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.3871, allocations: 64.16 kB / 0.6106 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.3875, allocations: 413.7 kB / 0.611 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3876, allocations: 21.47 kB / 0.611 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.3876, allocations: 28 kB / 0.6111 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.388, allocations: 205.2 kB / 0.6113 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3881, allocations: 0 / 0.6113 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3881, allocations: 12 kB / 0.6113 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3881, allocations: 7.938 kB / 0.6113 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.3885, allocations: 171.6 kB / 0.6114 GB, free: 15.55 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.001658/0.3902, allocations: 0.9563 MB / 0.6124 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.3905, allocations: 132.7 kB / 0.6125 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3906, allocations: 68.81 kB / 0.6126 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.391, allocations: 336.4 kB / 0.6129 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.391, allocations: 30.56 kB / 0.6129 GB, free: 13.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.391, allocations: 0 / 0.6129 GB, free: 13.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006563/0.3917, allocations: 253 kB / 0.6132 GB, free: 13.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3917, allocations: 51.41 kB / 0.6132 GB, free: 13.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.3923, allocations: 474 kB / 0.6137 GB, free: 13.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.3923, allocations: 33.7 kB / 0.6137 GB, free: 13.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.3925, allocations: 224.6 kB / 0.6139 GB, free: 12.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.3926, allocations: 51.33 kB / 0.614 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3927, allocations: 61.69 kB / 0.614 GB, free: 12.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3929, allocations: 358.7 kB / 0.6144 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.393, allocations: 72.81 kB / 0.6144 GB, free: 12.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.3933, allocations: 157.6 kB / 0.6146 GB, free: 12.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.3937, allocations: 161.2 kB / 0.6147 GB, free: 11.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3937, allocations: 0 / 0.6147 GB, free: 11.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005621/0.3943, allocations: 249 kB / 0.615 GB, free: 11.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3943, allocations: 8 kB / 0.615 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3943, allocations: 7.938 kB / 0.615 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3944, allocations: 3.938 kB / 0.615 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3946, allocations: 47.97 kB / 0.615 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3946, allocations: 3.984 kB / 0.615 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.3949, allocations: 43.66 kB / 0.6151 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.395, allocations: 11.94 kB / 0.6151 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003084/0.3953, allocations: 195.9 kB / 0.6153 GB, free: 11.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002731/0.3956, allocations: 161.3 kB / 0.6154 GB, free: 11.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003502/0.3959, allocations: 170.8 kB / 0.6156 GB, free: 10.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.3959, allocations: 4 kB / 0.6156 GB, free: 10.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005173/0.3965, allocations: 249 kB / 0.6158 GB, free: 10.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-06/0.3965, allocations: 4 kB / 0.6158 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3965, allocations: 4 kB / 0.6158 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/0.3965, allocations: 0 / 0.6158 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.3967, allocations: 48.03 kB / 0.6159 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.3967, allocations: 7.938 kB / 0.6159 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.3971, allocations: 27.88 kB / 0.6159 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3971, allocations: 16.17 kB / 0.6159 GB, free: 10.62 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.0001386/0.3972, allocations: 192.1 kB / 0.6161 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.3973, allocations: 51.38 kB / 0.6162 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.3979, allocations: 249.2 kB / 0.6164 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3979, allocations: 0 / 0.6164 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3979, allocations: 0 / 0.6164 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3979, allocations: 0 / 0.6164 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.399, allocations: 0.7044 MB / 0.6171 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.399, allocations: 3.938 kB / 0.6171 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3991, allocations: 27.98 kB / 0.6171 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3992, allocations: 7.875 kB / 0.6171 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3992, allocations: 11.98 kB / 0.6171 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3992, allocations: 0 / 0.6171 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3992, allocations: 8.125 kB / 0.6171 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.3997, allocations: 336.8 kB / 0.6175 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3999, allocations: 140.5 kB / 0.6176 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.4, allocations: 11.94 kB / 0.6176 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4002, allocations: 15.92 kB / 0.6176 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.4002, allocations: 15.98 kB / 0.6176 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4003, allocations: 4 kB / 0.6176 GB, free: 8.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.4007, allocations: 330.9 kB / 0.618 GB, free: 8.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4007, allocations: 0 / 0.618 GB, free: 8.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.4014, allocations: 203.7 kB / 0.6182 GB, free: 8.211 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.001542/0.4029, allocations: 486.7 kB / 0.6186 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.4036, allocations: 282.4 kB / 0.6189 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4037, allocations: 0 / 0.6189 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.4039, allocations: 87.83 kB / 0.619 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.405, allocations: 206 kB / 0.6192 GB, free: 7.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4063, allocations: 0.7382 MB / 0.6199 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4068, allocations: 0.823 MB / 0.6207 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.4069, allocations: 39.44 kB / 0.6207 GB, free: 5.676 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4069, allocations: 0 / 0.6207 GB, free: 5.676 MB / 462.1 MB Notification: Performance of Templates: time 0.01201/0.4189, allocations: 7.329 MB / 0.6279 GB, free: 14.43 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)