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.001654/0.001654, allocations: 101.4 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.001865/0.001865, allocations: 190.3 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.391/1.391, 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/package.mo): time 0.8199/0.8199, allocations: 132.2 MB / 423.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 80.18 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01898/0.3952, allocations: 22.32 MB / 0.6025 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006331/0.4016, allocations: 5.228 MB / 0.6076 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/0.4026, allocations: 21.53 kB / 0.6077 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.4035, allocations: 321.8 kB / 0.608 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.4059, allocations: 0.8667 MB / 0.6088 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.4075, allocations: 0.7151 MB / 0.6095 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.4093, allocations: 1.478 MB / 0.611 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.4101, allocations: 0.5243 MB / 0.6115 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.4113, allocations: 0.6147 MB / 0.6121 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.412, allocations: 485.8 kB / 0.6125 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/0.4121, allocations: 56 kB / 0.6126 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.4134, allocations: 0.6355 MB / 0.6132 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.4135, allocations: 155.4 kB / 0.6134 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.4139, allocations: 362 kB / 0.6137 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.4152, allocations: 1.055 MB / 0.6147 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4152, allocations: 0 / 0.6147 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4152, allocations: 0 / 0.6147 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4153, allocations: 0 / 0.6147 GB, free: 11.38 MB / 462.1 MB 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.001747/0.417, allocations: 1.051 MB / 0.6158 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4171, allocations: 8.031 kB / 0.6158 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4172, allocations: 80 kB / 0.6158 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000808/0.418, allocations: 0.5544 MB / 0.6164 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4181, allocations: 32.66 kB / 0.6164 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.4182, allocations: 43.91 kB / 0.6165 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.4188, allocations: 306 kB / 0.6167 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4188, allocations: 0 / 0.6167 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.4188, allocations: 12 kB / 0.6168 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.4188, allocations: 16.59 kB / 0.6168 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.4194, allocations: 254.5 kB / 0.617 GB, free: 8.945 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.002534/0.4219, allocations: 1.592 MB / 0.6186 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4223, allocations: 180.4 kB / 0.6187 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4225, allocations: 92.81 kB / 0.6188 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.4229, allocations: 425.5 kB / 0.6192 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.423, allocations: 38.5 kB / 0.6193 GB, free: 6.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.423, allocations: 3.938 kB / 0.6193 GB, free: 6.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007758/0.4238, allocations: 321.1 kB / 0.6196 GB, free: 6.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.4238, allocations: 59.41 kB / 0.6196 GB, free: 6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007885/0.4246, allocations: 0.6449 MB / 0.6203 GB, free: 5.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.4247, allocations: 33.7 kB / 0.6203 GB, free: 5.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4249, allocations: 304.4 kB / 0.6206 GB, free: 5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.425, allocations: 71 kB / 0.6207 GB, free: 4.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.4251, allocations: 102 kB / 0.6208 GB, free: 4.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4253, allocations: 374.7 kB / 0.6211 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.4256, allocations: 138.5 kB / 0.6212 GB, free: 4.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.426, allocations: 214.2 kB / 0.6215 GB, free: 4.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.4265, allocations: 294.1 kB / 0.6217 GB, free: 3.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4265, allocations: 4 kB / 0.6217 GB, free: 3.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008557/0.4274, allocations: 452.6 kB / 0.6222 GB, free: 3.324 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4274, allocations: 8 kB / 0.6222 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4275, allocations: 0 / 0.6222 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4275, allocations: 4 kB / 0.6222 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/0.4284, allocations: 131.8 kB / 0.6223 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/0.4291, allocations: 1.192 MB / 0.6235 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.4296, allocations: 55.5 kB / 0.6235 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.4296, allocations: 16.19 kB / 0.6235 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004773/0.4301, allocations: 276.9 kB / 0.6238 GB, free: 1.598 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003343/0.4305, allocations: 198.3 kB / 0.624 GB, free: 1.387 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005204/0.431, allocations: 281.5 kB / 0.6243 GB, free: 1.098 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.431, allocations: 0 / 0.6243 GB, free: 1.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007932/0.4318, allocations: 440.5 kB / 0.6247 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4318, allocations: 7.984 kB / 0.6247 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4318, allocations: 0 / 0.6247 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.4319, allocations: 8.062 kB / 0.6247 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4324, allocations: 107.9 kB / 0.6248 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.4324, allocations: 11.92 kB / 0.6248 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4328, allocations: 47.66 kB / 0.6249 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.4328, allocations: 16 kB / 0.6249 GB, free: 476 kB / 462.1 MB 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.0001464/0.433, allocations: 200.1 kB / 0.6251 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4331, allocations: 63.44 kB / 0.6251 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.4338, allocations: 329.3 kB / 0.6254 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4339, allocations: 8 kB / 0.6254 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4339, allocations: 4 kB / 0.6254 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4339, allocations: 0 / 0.6254 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4352, allocations: 0.9109 MB / 0.6263 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4352, allocations: 4 kB / 0.6263 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4355, allocations: 52.09 kB / 0.6264 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4355, allocations: 0 / 0.6264 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.4356, allocations: 15.92 kB / 0.6264 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006361/0.4362, allocations: 1.176 MB / 0.6276 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4362, allocations: 8.156 kB / 0.6276 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.437, allocations: 0.5102 MB / 0.6281 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.4372, allocations: 172.3 kB / 0.6282 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.4373, allocations: 8 kB / 0.6282 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.4376, allocations: 15.98 kB / 0.6282 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.4377, allocations: 19.91 kB / 0.6283 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4377, allocations: 8 kB / 0.6283 GB, free: 12.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005495/0.4383, allocations: 451 kB / 0.6287 GB, free: 12.37 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4383, allocations: 3.938 kB / 0.6287 GB, free: 12.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008563/0.4391, allocations: 307.5 kB / 0.629 GB, free: 12.06 MB / 478.1 MB 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.0005238/0.4397, allocations: 242.3 kB / 0.6292 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.4411, allocations: 0.5433 MB / 0.6298 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4411, allocations: 0 / 0.6298 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.4415, allocations: 131.8 kB / 0.6299 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4427, allocations: 279.4 kB / 0.6302 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.4445, allocations: 1.04 MB / 0.6312 GB, free: 9.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.445, allocations: 0.8903 MB / 0.632 GB, free: 8.898 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.4451, allocations: 51.42 kB / 0.6321 GB, free: 8.848 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4451, allocations: 0 / 0.6321 GB, free: 8.848 MB / 478.1 MB Notification: Performance of Templates: time 0.01857/0.4637, allocations: 14.88 MB / 0.6466 GB, free: 10.07 MB / 494.1 MB 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)