Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 104.8 kB / 16.27 MB, free: 5.988 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.001263/0.001263, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.309/1.309, 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.8155/0.8155, allocations: 135.2 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 60.12 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02067/0.328, allocations: 29.82 MB / 0.6142 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.3397, allocations: 8.144 MB / 0.6221 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.3409, allocations: 31.75 kB / 0.6222 GB, free: 4.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.342, allocations: 429 kB / 0.6226 GB, free: 4.078 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.3454, allocations: 1.372 MB / 0.6239 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.3481, allocations: 1.127 MB / 0.625 GB, free: 1.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003977/0.3521, allocations: 3.54 MB / 0.6285 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.3537, allocations: 1.329 MB / 0.6298 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.3562, allocations: 1.667 MB / 0.6314 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.3588, allocations: 1.64 MB / 0.633 GB, free: 9.383 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.3593, allocations: 128 kB / 0.6331 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.3613, allocations: 1.014 MB / 0.6341 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.3618, allocations: 418.6 kB / 0.6345 GB, free: 7.832 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.3627, allocations: 0.7467 MB / 0.6352 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.3652, allocations: 2.189 MB / 0.6374 GB, free: 4.887 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3652, allocations: 0 / 0.6374 GB, free: 4.887 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3652, allocations: 0 / 0.6374 GB, free: 4.887 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.3652, allocations: 0 / 0.6374 GB, free: 4.887 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00269/0.3679, allocations: 1.671 MB / 0.639 GB, free: 3.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3679, allocations: 13.11 kB / 0.639 GB, free: 3.148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.3683, allocations: 154.8 kB / 0.6392 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.3699, allocations: 0.8832 MB / 0.64 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.3699, allocations: 81.31 kB / 0.6401 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.3702, allocations: 120 kB / 0.6402 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.3712, allocations: 0.6356 MB / 0.6409 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3712, allocations: 0 / 0.6409 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.3713, allocations: 24 kB / 0.6409 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3713, allocations: 15.94 kB / 0.6409 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.3722, allocations: 468.8 kB / 0.6413 GB, free: 0.6992 MB / 478.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.004358/0.3765, allocations: 2.895 MB / 0.6442 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.3772, allocations: 310.4 kB / 0.6445 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3775, allocations: 153.3 kB / 0.6446 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.3778, allocations: 340.7 kB / 0.6449 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3778, allocations: 34.84 kB / 0.645 GB, free: 12.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.3778, allocations: 0 / 0.645 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001248/0.3791, allocations: 0.5282 MB / 0.6455 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3791, allocations: 59.41 kB / 0.6455 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.3802, allocations: 0.9114 MB / 0.6464 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.3803, allocations: 57.7 kB / 0.6465 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.3808, allocations: 0.5302 MB / 0.647 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3809, allocations: 118.3 kB / 0.6471 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.3813, allocations: 287 kB / 0.6474 GB, free: 10.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3815, allocations: 341.8 kB / 0.6477 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.3819, allocations: 193.4 kB / 0.6479 GB, free: 9.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.3833, allocations: 1.151 MB / 0.649 GB, free: 8.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.3842, allocations: 459.4 kB / 0.6495 GB, free: 7.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3842, allocations: 0 / 0.6495 GB, free: 7.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001335/0.3855, allocations: 0.6578 MB / 0.6501 GB, free: 7.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3855, allocations: 4 kB / 0.6501 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3856, allocations: 4 kB / 0.6501 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3856, allocations: 4.188 kB / 0.6501 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.387, allocations: 227.7 kB / 0.6503 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.3888, allocations: 2.958 MB / 0.6532 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.3919, allocations: 0.7026 MB / 0.6539 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.392, allocations: 24 kB / 0.6539 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007087/0.3927, allocations: 377.2 kB / 0.6543 GB, free: 2.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001401/0.3941, allocations: 1.15 MB / 0.6554 GB, free: 1.082 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007844/0.3949, allocations: 460.9 kB / 0.6559 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/0.3949, allocations: 3.984 kB / 0.6559 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001417/0.3964, allocations: 0.6587 MB / 0.6565 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3964, allocations: 4 kB / 0.6565 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3964, allocations: 4 kB / 0.6565 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.3964, allocations: 4 kB / 0.6565 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.397, allocations: 155.8 kB / 0.6567 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3971, allocations: 12.3 kB / 0.6567 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.4013, allocations: 0.9612 MB / 0.6576 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.4013, allocations: 27.98 kB / 0.6576 GB, free: 14.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.4016, allocations: 245.6 kB / 0.6579 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.4018, allocations: 94.78 kB / 0.658 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.4029, allocations: 0.5089 MB / 0.6585 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4029, allocations: 7.984 kB / 0.6585 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4029, allocations: 0 / 0.6585 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4029, allocations: 11.92 kB / 0.6585 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.4049, allocations: 1.245 MB / 0.6597 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4049, allocations: 0 / 0.6597 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.4054, allocations: 120 kB / 0.6598 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4054, allocations: 7.938 kB / 0.6598 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4055, allocations: 12 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.4071, allocations: 2.942 MB / 0.6627 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4071, allocations: 288 / 0.6627 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.408, allocations: 0.5703 MB / 0.6633 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.4082, allocations: 211.7 kB / 0.6635 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4084, allocations: 15.94 kB / 0.6635 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.4088, allocations: 27.95 kB / 0.6635 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.4089, allocations: 31.91 kB / 0.6635 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.4089, allocations: 12 kB / 0.6635 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007421/0.4097, allocations: 0.6084 MB / 0.6641 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4097, allocations: 0 / 0.6641 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001343/0.411, allocations: 0.5422 MB / 0.6647 GB, free: 7.301 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/0.4117, allocations: 334.7 kB / 0.665 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.4142, allocations: 0.854 MB / 0.6658 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4142, allocations: 0.625 kB / 0.6658 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.4148, allocations: 243.6 kB / 0.6661 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.4166, allocations: 400.9 kB / 0.6664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.419, allocations: 1.579 MB / 0.668 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.4196, allocations: 1.021 MB / 0.669 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.4198, allocations: 87.41 kB / 0.6691 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.4198, allocations: 0 / 0.6691 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of Templates: time 0.04191/0.4618, allocations: 36.1 MB / 0.7043 GB, free: 14.89 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)