Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008333/0.008333, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001539/0.001539, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7478/0.7478, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.88 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4338, allocations: 80.21 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02062/0.4545, allocations: 22.32 MB / 0.6815 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008137/0.4627, allocations: 5.23 MB / 0.6866 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.4637, allocations: 23.31 kB / 0.6866 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/0.4647, allocations: 324.6 kB / 0.6869 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.4674, allocations: 0.9103 MB / 0.6878 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.4693, allocations: 0.7151 MB / 0.6885 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.4717, allocations: 1.5 MB / 0.69 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.4725, allocations: 0.5168 MB / 0.6905 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.4739, allocations: 0.6501 MB / 0.6911 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.4745, allocations: 483.6 kB / 0.6916 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.631e-05/0.4746, allocations: 53.62 kB / 0.6916 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.4758, allocations: 0.6355 MB / 0.6922 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.476, allocations: 155 kB / 0.6924 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.4764, allocations: 363.2 kB / 0.6927 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.478, allocations: 1.06 MB / 0.6938 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.478, allocations: 1.562 kB / 0.6938 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.016e-06/0.478, allocations: 4 kB / 0.6938 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.478, allocations: 3.938 kB / 0.6938 GB, free: 15.57 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001927/0.48, allocations: 1.057 MB / 0.6948 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.48, allocations: 8.531 kB / 0.6948 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.4802, allocations: 79.47 kB / 0.6949 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.4813, allocations: 0.5784 MB / 0.6955 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.4814, allocations: 28.66 kB / 0.6955 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.4814, allocations: 39.56 kB / 0.6955 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.4821, allocations: 307.1 kB / 0.6958 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4822, allocations: 0 / 0.6958 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.4822, allocations: 19.41 kB / 0.6958 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.4822, allocations: 15.78 kB / 0.6958 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4829, allocations: 255.4 kB / 0.6961 GB, free: 13.83 MB / 0.5294 GB 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.002728/0.4856, allocations: 1.573 MB / 0.6976 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.486, allocations: 192.9 kB / 0.6978 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.4862, allocations: 95.14 kB / 0.6979 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.4866, allocations: 420.4 kB / 0.6983 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4866, allocations: 36.88 kB / 0.6983 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.4866, allocations: 0 / 0.6983 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007529/0.4874, allocations: 331.2 kB / 0.6987 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.4875, allocations: 52.91 kB / 0.6987 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.4883, allocations: 0.6516 MB / 0.6993 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.4884, allocations: 31.92 kB / 0.6994 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.4887, allocations: 302.6 kB / 0.6997 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.4887, allocations: 68.16 kB / 0.6997 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.4889, allocations: 105.3 kB / 0.6998 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4891, allocations: 375.1 kB / 0.7002 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.4894, allocations: 139.8 kB / 0.7003 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.4898, allocations: 212.3 kB / 0.7005 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.4903, allocations: 289.9 kB / 0.7008 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4903, allocations: 0 / 0.7008 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008209/0.4911, allocations: 454.3 kB / 0.7012 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4912, allocations: 9.422 kB / 0.7012 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4912, allocations: 1.094 kB / 0.7012 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4912, allocations: 2.594 kB / 0.7012 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.492, allocations: 139.3 kB / 0.7014 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006446/0.4927, allocations: 1.189 MB / 0.7025 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.4931, allocations: 50.58 kB / 0.7026 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.4932, allocations: 20.3 kB / 0.7026 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004288/0.4936, allocations: 271.2 kB / 0.7029 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003353/0.494, allocations: 204.2 kB / 0.7031 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005002/0.4945, allocations: 280.4 kB / 0.7033 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.4945, allocations: 1.406 kB / 0.7033 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.000842/0.4954, allocations: 439.7 kB / 0.7037 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.4954, allocations: 14.72 kB / 0.7038 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4954, allocations: 1.062 kB / 0.7038 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/0.4954, allocations: 2.5 kB / 0.7038 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.4959, allocations: 117 kB / 0.7039 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4959, allocations: 2.219 kB / 0.7039 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.4963, allocations: 41.72 kB / 0.7039 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.4964, allocations: 16.66 kB / 0.7039 GB, free: 7.723 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.4965, allocations: 201.8 kB / 0.7041 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4966, allocations: 64.47 kB / 0.7042 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.4973, allocations: 324.5 kB / 0.7045 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.4974, allocations: 2.906 kB / 0.7045 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4974, allocations: 7.984 kB / 0.7045 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4974, allocations: 0 / 0.7045 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.4987, allocations: 0.9031 MB / 0.7054 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4987, allocations: 2.281 kB / 0.7054 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.499, allocations: 63.28 kB / 0.7054 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.499, allocations: 2.688 kB / 0.7054 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.4991, allocations: 12.34 kB / 0.7055 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005511/0.4996, allocations: 1.177 MB / 0.7066 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4996, allocations: 9.219 kB / 0.7066 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.5004, allocations: 0.5057 MB / 0.7071 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.5006, allocations: 172.3 kB / 0.7073 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.5006, allocations: 4 kB / 0.7073 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5009, allocations: 11.98 kB / 0.7073 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.501, allocations: 19.92 kB / 0.7073 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.501, allocations: 11.98 kB / 0.7073 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005398/0.5016, allocations: 451 kB / 0.7078 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5016, allocations: 4.062 kB / 0.7078 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008625/0.5024, allocations: 299.5 kB / 0.708 GB, free: 3.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004812/0.5029, allocations: 245.7 kB / 0.7083 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.5043, allocations: 0.535 MB / 0.7088 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5043, allocations: 0 / 0.7088 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.5046, allocations: 131.8 kB / 0.7089 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5058, allocations: 275 kB / 0.7092 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.5074, allocations: 1.002 MB / 0.7102 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.5079, allocations: 0.8941 MB / 0.711 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004021/0.5083, allocations: 120.3 kB / 0.7112 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5084, allocations: 51.42 kB / 0.7112 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5084, allocations: 0 / 0.7112 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of Templates: time 0.01904/0.5275, allocations: 11.22 MB / 0.7222 GB, free: 5.617 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)