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.001451/0.00145, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001403/0.001404, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7901/0.7901, allocations: 135.2 MB / 426.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3177, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01156/0.3293, allocations: 15.54 MB / 0.6002 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.334, allocations: 4.325 MB / 0.6045 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.3345, allocations: 16.53 kB / 0.6045 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.3353, allocations: 263.6 kB / 0.6047 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.3364, allocations: 0.6098 MB / 0.6053 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3378, allocations: 0.6993 MB / 0.606 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007662/0.3385, allocations: 1.026 MB / 0.607 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/0.3389, allocations: 347 kB / 0.6073 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.3393, allocations: 422.3 kB / 0.6077 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.3396, allocations: 311.7 kB / 0.608 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.3397, allocations: 30.41 kB / 0.6081 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.3405, allocations: 0.6278 MB / 0.6087 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.3406, allocations: 99.55 kB / 0.6088 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3407, allocations: 230.7 kB / 0.609 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.3414, allocations: 0.7556 MB / 0.6097 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3414, allocations: 0 / 0.6097 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3414, allocations: 0 / 0.6097 GB, free: 1.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3414, allocations: 1.375 kB / 0.6097 GB, free: 1.227 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.000916/0.3423, allocations: 0.8338 MB / 0.6106 GB, free: 356 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.3424, allocations: 13.05 kB / 0.6106 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.672e-05/0.3425, allocations: 56.28 kB / 0.6106 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.343, allocations: 413.1 kB / 0.611 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.343, allocations: 22.59 kB / 0.611 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3431, allocations: 28 kB / 0.6111 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.3435, allocations: 211.2 kB / 0.6113 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3435, allocations: 0 / 0.6113 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3435, allocations: 15.92 kB / 0.6113 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3435, allocations: 4.781 kB / 0.6113 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.3439, allocations: 165.3 kB / 0.6114 GB, free: 15.39 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.001605/0.3455, allocations: 0.9521 MB / 0.6124 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.3458, allocations: 130.5 kB / 0.6125 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.346, allocations: 79.17 kB / 0.6126 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.3463, allocations: 332.4 kB / 0.6129 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3464, allocations: 42.55 kB / 0.6129 GB, free: 13.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3464, allocations: 0 / 0.6129 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006189/0.347, allocations: 241 kB / 0.6132 GB, free: 13.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3471, allocations: 55.41 kB / 0.6132 GB, free: 13.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.3476, allocations: 474 kB / 0.6137 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.3476, allocations: 33.7 kB / 0.6137 GB, free: 12.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3478, allocations: 224.6 kB / 0.6139 GB, free: 12.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.3479, allocations: 55.33 kB / 0.614 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.348, allocations: 57.69 kB / 0.614 GB, free: 12.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3482, allocations: 354.7 kB / 0.6144 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3484, allocations: 76.81 kB / 0.6144 GB, free: 12.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.3486, allocations: 149.7 kB / 0.6146 GB, free: 11.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.349, allocations: 164.6 kB / 0.6147 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.349, allocations: 0 / 0.6147 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005161/0.3495, allocations: 251.5 kB / 0.615 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3496, allocations: 8 kB / 0.615 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3496, allocations: 3.938 kB / 0.615 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3496, allocations: 0 / 0.615 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3498, allocations: 51.91 kB / 0.615 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3498, allocations: 8 kB / 0.615 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.3501, allocations: 39.66 kB / 0.6151 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.3502, allocations: 11.94 kB / 0.6151 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003028/0.3505, allocations: 195.9 kB / 0.6153 GB, free: 11.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002456/0.3507, allocations: 157.4 kB / 0.6154 GB, free: 11.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003367/0.3511, allocations: 174.1 kB / 0.6156 GB, free: 10.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.3511, allocations: 0 / 0.6156 GB, free: 10.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004894/0.3516, allocations: 249.2 kB / 0.6158 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3516, allocations: 8 kB / 0.6158 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3516, allocations: 4 kB / 0.6158 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/0.3516, allocations: 0 / 0.6158 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3518, allocations: 47.91 kB / 0.6159 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3518, allocations: 4 kB / 0.6159 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.3522, allocations: 36.12 kB / 0.6159 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3522, allocations: 11.98 kB / 0.6159 GB, free: 10.47 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.0001355/0.3523, allocations: 204 kB / 0.6161 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.3524, allocations: 43.44 kB / 0.6162 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.353, allocations: 245.3 kB / 0.6164 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.353, allocations: 4 kB / 0.6164 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.353, allocations: 0 / 0.6164 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.353, allocations: 0 / 0.6164 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.354, allocations: 0.7083 MB / 0.6171 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.354, allocations: 0 / 0.6171 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.3542, allocations: 27.98 kB / 0.6171 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3542, allocations: 7.922 kB / 0.6171 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3542, allocations: 8 kB / 0.6171 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.3542, allocations: 4 kB / 0.6171 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3542, allocations: 0 / 0.6171 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.3547, allocations: 342.2 kB / 0.6175 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.3549, allocations: 136.5 kB / 0.6176 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.3549, allocations: 7.938 kB / 0.6176 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.3551, allocations: 11.98 kB / 0.6176 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.3552, allocations: 19.98 kB / 0.6176 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3552, allocations: 4 kB / 0.6176 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003749/0.3556, allocations: 338.8 kB / 0.618 GB, free: 8.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3556, allocations: 0 / 0.618 GB, free: 8.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006925/0.3563, allocations: 203.7 kB / 0.6182 GB, free: 8.059 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.001487/0.3578, allocations: 490.1 kB / 0.6186 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.3585, allocations: 282.5 kB / 0.6189 GB, free: 7.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3585, allocations: 0 / 0.6189 GB, free: 7.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3587, allocations: 83.89 kB / 0.619 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3598, allocations: 214.8 kB / 0.6192 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.361, allocations: 0.7381 MB / 0.6199 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.3615, allocations: 0.823 MB / 0.6207 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3616, allocations: 43.42 kB / 0.6207 GB, free: 5.52 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3616, allocations: 0 / 0.6207 GB, free: 5.52 MB / 462.1 MB Notification: Performance of Templates: time 0.01117/0.3728, allocations: 7.318 MB / 0.6279 GB, free: 14.28 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)