Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 100.1 kB / 15.88 MB, free: 12 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.001452/0.001452, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.491/1.491, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.064/1.064, allocations: 135.1 MB / 425.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.44 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1928, allocations: 80.93 MB / 0.5844 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02187/0.2147, allocations: 19.36 MB / 0.6033 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3901/0.6049, allocations: 5.156 MB / 0.6083 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6061, allocations: 18.06 kB / 0.6083 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.607, allocations: 217.4 kB / 0.6085 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.6092, allocations: 0.7083 MB / 0.6092 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.6115, allocations: 0.7883 MB / 0.61 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.6137, allocations: 1.942 MB / 0.6119 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.6143, allocations: 452.1 kB / 0.6123 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.6155, allocations: 0.5752 MB / 0.6129 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.6161, allocations: 0.5282 MB / 0.6134 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.6162, allocations: 36.78 kB / 0.6134 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.6176, allocations: 0.6641 MB / 0.6141 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.6178, allocations: 136.6 kB / 0.6142 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.6182, allocations: 361.4 kB / 0.6145 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008474/0.619, allocations: 0.761 MB / 0.6153 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6191, allocations: 0 / 0.6153 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6191, allocations: 1.5 kB / 0.6153 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.6191, allocations: 0 / 0.6153 GB, free: 35.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001938/0.621, allocations: 1.103 MB / 0.6164 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6211, allocations: 9.562 kB / 0.6164 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.6212, allocations: 92.34 kB / 0.6165 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.6219, allocations: 0.4958 MB / 0.6169 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.622, allocations: 36.34 kB / 0.617 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.622, allocations: 49.56 kB / 0.617 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.6231, allocations: 0.6248 MB / 0.6176 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.6231, allocations: 2.781 kB / 0.6176 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.6232, allocations: 23.47 kB / 0.6177 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.6232, allocations: 16.09 kB / 0.6177 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.6243, allocations: 491.5 kB / 0.6182 GB, free: 33.87 MB / 0.4981 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.003895/0.6282, allocations: 3.179 MB / 0.6213 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/0.6291, allocations: 346.6 kB / 0.6216 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.6297, allocations: 228.5 kB / 0.6218 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.6302, allocations: 356.1 kB / 0.6221 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.6302, allocations: 38.55 kB / 0.6222 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 4.669e-06/0.6303, allocations: 0 / 0.6222 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002853/0.6331, allocations: 0.8048 MB / 0.623 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.6332, allocations: 54.34 kB / 0.623 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.6341, allocations: 0.5911 MB / 0.6236 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.6341, allocations: 32.8 kB / 0.6236 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.6344, allocations: 332.9 kB / 0.6239 GB, free: 30 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6345, allocations: 126.9 kB / 0.6241 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.6348, allocations: 134.3 kB / 0.6242 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6349, allocations: 371.8 kB / 0.6245 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.6356, allocations: 227 kB / 0.6248 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.6364, allocations: 369.7 kB / 0.6251 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.6377, allocations: 0.5678 MB / 0.6257 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.6377, allocations: 3.219 kB / 0.6257 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001868/0.6396, allocations: 0.7136 MB / 0.6264 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.6396, allocations: 5.906 kB / 0.6264 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6397, allocations: 5.438 kB / 0.6264 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007879/0.6405, allocations: 137.1 kB / 0.6265 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.6412, allocations: 140.3 kB / 0.6266 GB, free: 28.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/0.6418, allocations: 0.6158 MB / 0.6272 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008786/0.6427, allocations: 101.2 kB / 0.6273 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.6428, allocations: 35.03 kB / 0.6274 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008804/0.6437, allocations: 346.2 kB / 0.6277 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006999/0.6444, allocations: 370.5 kB / 0.6281 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/0.6457, allocations: 0.5621 MB / 0.6286 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.171e-06/0.6458, allocations: 0 / 0.6286 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001802/0.6476, allocations: 0.6733 MB / 0.6293 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6476, allocations: 14.2 kB / 0.6293 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6476, allocations: 2.875 kB / 0.6293 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6477, allocations: 11.59 kB / 0.6293 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.6484, allocations: 149.2 kB / 0.6294 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.6485, allocations: 16.86 kB / 0.6295 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.6493, allocations: 85.08 kB / 0.6295 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.6494, allocations: 31.62 kB / 0.6296 GB, free: 26.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.6497, allocations: 217.6 kB / 0.6298 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.6499, allocations: 64.81 kB / 0.6298 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.6518, allocations: 0.6378 MB / 0.6305 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.6519, allocations: 5.781 kB / 0.6305 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.6519, allocations: 7.938 kB / 0.6305 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6519, allocations: 3.469 kB / 0.6305 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.6552, allocations: 1.363 MB / 0.6318 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.6552, allocations: 0 / 0.6318 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.6557, allocations: 78.5 kB / 0.6319 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.6562, allocations: 112.5 kB / 0.632 GB, free: 25.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/0.6563, allocations: 17.12 kB / 0.632 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006749/0.6569, allocations: 0.6256 MB / 0.6326 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.657, allocations: 3.141 kB / 0.6326 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.6587, allocations: 0.6992 MB / 0.6333 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.6591, allocations: 205.4 kB / 0.6335 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.6593, allocations: 10.97 kB / 0.6335 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.66, allocations: 49.97 kB / 0.6336 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6601, allocations: 34.31 kB / 0.6336 GB, free: 24.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.6602, allocations: 14.98 kB / 0.6336 GB, free: 24.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007259/0.6609, allocations: 406.1 kB / 0.634 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6609, allocations: 0 / 0.634 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001927/0.6629, allocations: 391.3 kB / 0.6344 GB, free: 24.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.6639, allocations: 294.6 kB / 0.6346 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002703/0.6667, allocations: 0.8656 MB / 0.6355 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6667, allocations: 0 / 0.6355 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.6676, allocations: 279.6 kB / 0.6358 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.6698, allocations: 270 kB / 0.636 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.6726, allocations: 1.352 MB / 0.6373 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.6731, allocations: 0.907 MB / 0.6382 GB, free: 22.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.6734, allocations: 65.53 kB / 0.6383 GB, free: 22 MB / 0.4981 GB Notification: Performance of SimCode: time 1.313e-06/0.6734, allocations: 0 / 0.6383 GB, free: 22 MB / 0.4981 GB Notification: Performance of Templates: time 0.02991/0.7033, allocations: 13.02 MB / 0.651 GB, free: 20.68 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)