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.00119/0.00119, allocations: 108.1 kB / 15.99 MB, free: 5.895 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.001039/0.001039, allocations: 195.2 kB / 16.91 MB, free: 5.746 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.265/1.265, allocations: 222.9 MB / 240.6 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7586/0.7586, allocations: 132.2 MB / 422.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 0.5019 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3669, allocations: 80.18 MB / 0.5802 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01263/0.3796, allocations: 15.48 MB / 0.5953 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004842/0.3845, allocations: 4.3 MB / 0.5995 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.3851, allocations: 11.94 kB / 0.5995 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008212/0.386, allocations: 232.4 kB / 0.5998 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.3873, allocations: 0.5533 MB / 0.6003 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3888, allocations: 0.6471 MB / 0.6009 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009643/0.3897, allocations: 1.035 MB / 0.6019 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.3901, allocations: 324.1 kB / 0.6023 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.3907, allocations: 432.3 kB / 0.6027 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.391, allocations: 330.6 kB / 0.603 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.3911, allocations: 32.56 kB / 0.603 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.3919, allocations: 0.6278 MB / 0.6036 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.392, allocations: 109.1 kB / 0.6037 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.3921, allocations: 226.7 kB / 0.6039 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.3927, allocations: 0.5457 MB / 0.6045 GB, free: 5.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3927, allocations: 7.984 kB / 0.6045 GB, free: 5.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3928, allocations: 1 kB / 0.6045 GB, free: 5.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3928, allocations: 0 / 0.6045 GB, free: 5.555 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.0009557/0.3937, allocations: 0.8279 MB / 0.6053 GB, free: 4.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3938, allocations: 8.031 kB / 0.6053 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.3939, allocations: 56.28 kB / 0.6054 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.3943, allocations: 418.5 kB / 0.6058 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3943, allocations: 20.44 kB / 0.6058 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.3943, allocations: 32 kB / 0.6058 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.3947, allocations: 219.8 kB / 0.606 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3947, allocations: 0 / 0.606 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.3948, allocations: 13.06 kB / 0.606 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3948, allocations: 4 kB / 0.606 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.3951, allocations: 163.5 kB / 0.6062 GB, free: 3.719 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.001227/0.3963, allocations: 0.9409 MB / 0.6071 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.3966, allocations: 135.1 kB / 0.6072 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3967, allocations: 70.06 kB / 0.6073 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.3969, allocations: 337.5 kB / 0.6076 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.3969, allocations: 34.56 kB / 0.6077 GB, free: 2.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.3969, allocations: 0.6875 kB / 0.6077 GB, free: 2.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005315/0.3974, allocations: 240.5 kB / 0.6079 GB, free: 1.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.3975, allocations: 51.41 kB / 0.6079 GB, free: 1.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.3979, allocations: 484.9 kB / 0.6084 GB, free: 1.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3979, allocations: 29.7 kB / 0.6084 GB, free: 1.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.398, allocations: 232.5 kB / 0.6087 GB, free: 1.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.398, allocations: 47.42 kB / 0.6087 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.3981, allocations: 61.69 kB / 0.6088 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.3982, allocations: 354.7 kB / 0.6091 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3983, allocations: 75.72 kB / 0.6092 GB, free: 472 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3985, allocations: 149.8 kB / 0.6093 GB, free: 300 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.3988, allocations: 172.8 kB / 0.6095 GB, free: 120 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3988, allocations: 0 / 0.6095 GB, free: 120 kB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004842/0.3993, allocations: 253 kB / 0.6097 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3993, allocations: 10.81 kB / 0.6097 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3993, allocations: 4 kB / 0.6097 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3994, allocations: 96 / 0.6097 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3996, allocations: 55.78 kB / 0.6098 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3996, allocations: 4 kB / 0.6098 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.3999, allocations: 39.75 kB / 0.6098 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.4, allocations: 15.94 kB / 0.6098 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002702/0.4003, allocations: 196.1 kB / 0.61 GB, free: 15.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002286/0.4005, allocations: 149.4 kB / 0.6102 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003133/0.4008, allocations: 172.2 kB / 0.6103 GB, free: 15.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.4008, allocations: 0 / 0.6103 GB, free: 15.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004758/0.4013, allocations: 254.2 kB / 0.6106 GB, free: 14.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.4013, allocations: 4 kB / 0.6106 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.4013, allocations: 8.062 kB / 0.6106 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/0.4013, allocations: 0 / 0.6106 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.4015, allocations: 51.91 kB / 0.6106 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4016, allocations: 4 kB / 0.6106 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.4019, allocations: 35.81 kB / 0.6107 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.4019, allocations: 12 kB / 0.6107 GB, free: 14.8 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.0001251/0.4021, allocations: 204.1 kB / 0.6109 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.4021, allocations: 39.53 kB / 0.6109 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.4027, allocations: 237.3 kB / 0.6111 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4027, allocations: 7.984 kB / 0.6112 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4027, allocations: 192 / 0.6112 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4027, allocations: 4 kB / 0.6112 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.4037, allocations: 0.7082 MB / 0.6118 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4037, allocations: 4.031 kB / 0.6119 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4039, allocations: 39.98 kB / 0.6119 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4039, allocations: 3.938 kB / 0.6119 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4039, allocations: 4 kB / 0.6119 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4039, allocations: 3.984 kB / 0.6119 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4039, allocations: 4 kB / 0.6119 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.4044, allocations: 340 kB / 0.6122 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.4045, allocations: 144.4 kB / 0.6124 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.4045, allocations: 3.938 kB / 0.6124 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4048, allocations: 23.98 kB / 0.6124 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.4048, allocations: 11.98 kB / 0.6124 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4049, allocations: 11.98 kB / 0.6124 GB, free: 12.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.4052, allocations: 334.9 kB / 0.6127 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4052, allocations: 0 / 0.6127 GB, free: 12.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006263/0.4058, allocations: 195.7 kB / 0.6129 GB, free: 12.39 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.001054/0.4069, allocations: 485.1 kB / 0.6134 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.4076, allocations: 279.8 kB / 0.6137 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4076, allocations: 0 / 0.6137 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.4078, allocations: 79.89 kB / 0.6137 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4089, allocations: 215.4 kB / 0.6139 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4102, allocations: 0.8631 MB / 0.6148 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4106, allocations: 0.8309 MB / 0.6156 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.4107, allocations: 39.36 kB / 0.6156 GB, free: 9.723 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4107, allocations: 0 / 0.6156 GB, free: 9.723 MB / 462.1 MB Notification: Performance of Templates: time 0.01032/0.4211, allocations: 7.313 MB / 0.6228 GB, free: 2.492 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)