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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7037/0.7037, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 69.08 kB / 0.5018 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3854, allocations: 80.2 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01721/0.4027, allocations: 15.55 MB / 0.5953 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006939/0.4096, allocations: 4.326 MB / 0.5995 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.4105, allocations: 17.78 kB / 0.5995 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.4117, allocations: 269.9 kB / 0.5998 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.4135, allocations: 0.6051 MB / 0.6004 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.4154, allocations: 0.7028 MB / 0.6011 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.4167, allocations: 1.028 MB / 0.6021 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.4171, allocations: 337.2 kB / 0.6024 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.4178, allocations: 422.6 kB / 0.6028 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.4183, allocations: 315.2 kB / 0.6031 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.4184, allocations: 27.72 kB / 0.6031 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.4197, allocations: 0.6315 MB / 0.6037 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.4199, allocations: 101.2 kB / 0.6038 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.4201, allocations: 226.2 kB / 0.604 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4213, allocations: 0.7666 MB / 0.6048 GB, free: 3.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4213, allocations: 0 / 0.6048 GB, free: 3.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4213, allocations: 1.062 kB / 0.6048 GB, free: 3.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.4213, allocations: 0 / 0.6048 GB, free: 3.09 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.001214/0.4225, allocations: 0.8318 MB / 0.6056 GB, free: 2.371 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4226, allocations: 8.5 kB / 0.6056 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.4227, allocations: 55.66 kB / 0.6057 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.4232, allocations: 410.9 kB / 0.6061 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4232, allocations: 20.12 kB / 0.6061 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.4233, allocations: 26.56 kB / 0.6061 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.4237, allocations: 213.8 kB / 0.6063 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4237, allocations: 0 / 0.6063 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.4238, allocations: 13.56 kB / 0.6063 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.4238, allocations: 5.625 kB / 0.6063 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.4241, allocations: 165.8 kB / 0.6065 GB, free: 1.75 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.00163/0.4258, allocations: 0.956 MB / 0.6074 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.4261, allocations: 127.7 kB / 0.6075 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.4262, allocations: 72.06 kB / 0.6076 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.4265, allocations: 336.7 kB / 0.6079 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4266, allocations: 39.84 kB / 0.608 GB, free: 416 kB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.4266, allocations: 0 / 0.608 GB, free: 416 kB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006481/0.4272, allocations: 238 kB / 0.6082 GB, free: 288 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.4273, allocations: 56.62 kB / 0.6082 GB, free: 220 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.4278, allocations: 478.9 kB / 0.6087 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4278, allocations: 32.27 kB / 0.6087 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.428, allocations: 228.6 kB / 0.6089 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.4281, allocations: 49.27 kB / 0.609 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4282, allocations: 58.38 kB / 0.609 GB, free: 15.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4283, allocations: 352 kB / 0.6094 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.4285, allocations: 78.47 kB / 0.6095 GB, free: 15.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4288, allocations: 156 kB / 0.6096 GB, free: 15.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.4292, allocations: 162.6 kB / 0.6098 GB, free: 15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4292, allocations: 0 / 0.6098 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000514/0.4297, allocations: 251.3 kB / 0.61 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4298, allocations: 5.188 kB / 0.61 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4298, allocations: 1.469 kB / 0.61 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4298, allocations: 5.453 kB / 0.61 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.43, allocations: 50.75 kB / 0.6101 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.43, allocations: 1.469 kB / 0.6101 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.4303, allocations: 45.25 kB / 0.6101 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.4304, allocations: 15.8 kB / 0.6101 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000334/0.4307, allocations: 197.7 kB / 0.6103 GB, free: 14.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002327/0.431, allocations: 157 kB / 0.6105 GB, free: 14.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003189/0.4313, allocations: 166.9 kB / 0.6106 GB, free: 14.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.4313, allocations: 0 / 0.6106 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000476/0.4318, allocations: 258.8 kB / 0.6109 GB, free: 14.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.4318, allocations: 8.281 kB / 0.6109 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.4318, allocations: 1.344 kB / 0.6109 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.4318, allocations: 3.031 kB / 0.6109 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.432, allocations: 46.16 kB / 0.6109 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.432, allocations: 2.344 kB / 0.6109 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.4324, allocations: 38.62 kB / 0.611 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4324, allocations: 11.31 kB / 0.611 GB, free: 14.26 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.0001158/0.4325, allocations: 193.7 kB / 0.6112 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.4326, allocations: 42.75 kB / 0.6112 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.4332, allocations: 255.4 kB / 0.6114 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4332, allocations: 1.5 kB / 0.6114 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4332, allocations: 0 / 0.6114 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4332, allocations: 5.453 kB / 0.6114 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/0.4342, allocations: 0.6971 MB / 0.6121 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4342, allocations: 5.344 kB / 0.6121 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4343, allocations: 34.33 kB / 0.6122 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4343, allocations: 5.156 kB / 0.6122 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.4344, allocations: 7.438 kB / 0.6122 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4344, allocations: 2.406 kB / 0.6122 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4344, allocations: 5.188 kB / 0.6122 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.4348, allocations: 344.8 kB / 0.6125 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.435, allocations: 133.6 kB / 0.6126 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.435, allocations: 6.219 kB / 0.6126 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4352, allocations: 18.78 kB / 0.6127 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.4353, allocations: 14.92 kB / 0.6127 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4353, allocations: 8.656 kB / 0.6127 GB, free: 12.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003579/0.4357, allocations: 333 kB / 0.613 GB, free: 12.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 0 / 0.613 GB, free: 12.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006827/0.4364, allocations: 202.9 kB / 0.6132 GB, free: 12.61 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.00106/0.4374, allocations: 485.8 kB / 0.6137 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00068/0.4381, allocations: 281.8 kB / 0.6139 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4381, allocations: 4.125 kB / 0.6139 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4383, allocations: 84.33 kB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4394, allocations: 201.4 kB / 0.6142 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4407, allocations: 0.6985 MB / 0.6149 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4411, allocations: 0.8309 MB / 0.6157 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.4414, allocations: 85.95 kB / 0.6158 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.4415, allocations: 33.03 kB / 0.6158 GB, free: 10.86 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.4415, allocations: 0 / 0.6158 GB, free: 10.86 MB / 462.1 MB Notification: Performance of Templates: time 0.015/0.4565, allocations: 8.485 MB / 0.6241 GB, free: 4.184 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)