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.001274/0.001274, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001331/0.001331, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9808/0.9808, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 60.19 kB / 0.5049 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1737, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02201/0.1957, allocations: 19.33 MB / 0.6028 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3218/0.5176, allocations: 5.115 MB / 0.6078 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.5184, allocations: 17.94 kB / 0.6078 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007496/0.5192, allocations: 220.8 kB / 0.608 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.5209, allocations: 0.7217 MB / 0.6087 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.5227, allocations: 0.7873 MB / 0.6095 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.5242, allocations: 1.548 MB / 0.611 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005988/0.5248, allocations: 0.5009 MB / 0.6115 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009224/0.5257, allocations: 0.6302 MB / 0.6121 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.5262, allocations: 0.5428 MB / 0.6126 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.5263, allocations: 54.72 kB / 0.6127 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.5274, allocations: 0.7034 MB / 0.6134 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5275, allocations: 163.4 kB / 0.6135 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.5278, allocations: 386.2 kB / 0.6139 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.5288, allocations: 1.088 MB / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5288, allocations: 0 / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5288, allocations: 0 / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.5288, allocations: 0 / 0.6149 GB, free: 34.93 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.001618/0.5304, allocations: 1.102 MB / 0.616 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5305, allocations: 14.41 kB / 0.616 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.5306, allocations: 90.45 kB / 0.6161 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.5312, allocations: 0.496 MB / 0.6166 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5312, allocations: 38.06 kB / 0.6166 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.5313, allocations: 46.5 kB / 0.6167 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.5322, allocations: 0.6256 MB / 0.6173 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5323, allocations: 4.594 kB / 0.6173 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.5323, allocations: 20.97 kB / 0.6173 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.5323, allocations: 12.59 kB / 0.6173 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.5333, allocations: 492.9 kB / 0.6178 GB, free: 33.7 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.00277/0.5361, allocations: 3.179 MB / 0.6209 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.5367, allocations: 347.4 kB / 0.6212 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.5371, allocations: 228.5 kB / 0.6215 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.5374, allocations: 355.1 kB / 0.6218 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.5374, allocations: 37.34 kB / 0.6218 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.304e-06/0.5374, allocations: 0 / 0.6218 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001954/0.5394, allocations: 0.8021 MB / 0.6226 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.5394, allocations: 57.19 kB / 0.6227 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.54, allocations: 0.5952 MB / 0.6232 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.5401, allocations: 36.64 kB / 0.6233 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5403, allocations: 322.1 kB / 0.6236 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.5403, allocations: 135.2 kB / 0.6237 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.5405, allocations: 133.9 kB / 0.6238 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.5406, allocations: 373.1 kB / 0.6242 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.541, allocations: 226.7 kB / 0.6244 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.5416, allocations: 370.3 kB / 0.6248 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.5425, allocations: 0.5691 MB / 0.6253 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5425, allocations: 0 / 0.6253 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001379/0.5439, allocations: 0.7133 MB / 0.626 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5439, allocations: 13.23 kB / 0.626 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5439, allocations: 9.062 kB / 0.626 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.5446, allocations: 133.1 kB / 0.6262 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.5451, allocations: 142.9 kB / 0.6263 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000522/0.5457, allocations: 0.617 MB / 0.6269 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.5464, allocations: 93.44 kB / 0.627 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.5464, allocations: 33.58 kB / 0.627 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006446/0.5471, allocations: 355.6 kB / 0.6274 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005295/0.5476, allocations: 360.4 kB / 0.6277 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00087/0.5485, allocations: 0.5625 MB / 0.6283 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-06/0.5485, allocations: 0 / 0.6283 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001155/0.5497, allocations: 0.6753 MB / 0.6289 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5497, allocations: 9.219 kB / 0.6289 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5497, allocations: 2.656 kB / 0.6289 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.5497, allocations: 8.938 kB / 0.6289 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005919/0.5503, allocations: 157 kB / 0.6291 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.5503, allocations: 13.19 kB / 0.6291 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.551, allocations: 81.84 kB / 0.6292 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.551, allocations: 30.64 kB / 0.6292 GB, free: 26.41 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.0001912/0.5512, allocations: 217.5 kB / 0.6294 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5513, allocations: 64.19 kB / 0.6295 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.5527, allocations: 0.6435 MB / 0.6301 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.5528, allocations: 6.562 kB / 0.6301 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5528, allocations: 3.938 kB / 0.6301 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5528, allocations: 6.156 kB / 0.6301 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.5549, allocations: 1.355 MB / 0.6314 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.555, allocations: 3.625 kB / 0.6314 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.5553, allocations: 85.7 kB / 0.6315 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003225/0.5556, allocations: 106.4 kB / 0.6316 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.5557, allocations: 21.55 kB / 0.6317 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004693/0.5561, allocations: 0.6207 MB / 0.6323 GB, free: 24.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5562, allocations: 0 / 0.6323 GB, free: 24.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5573, allocations: 0.7055 MB / 0.6329 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.5575, allocations: 193.4 kB / 0.6331 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.478e-05/0.5576, allocations: 10.59 kB / 0.6331 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.5581, allocations: 51.11 kB / 0.6332 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.5582, allocations: 33.47 kB / 0.6332 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.5582, allocations: 15.05 kB / 0.6332 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004282/0.5587, allocations: 403.3 kB / 0.6336 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5587, allocations: 3.938 kB / 0.6336 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001162/0.5598, allocations: 389.1 kB / 0.634 GB, free: 23.78 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.0006064/0.5604, allocations: 298.7 kB / 0.6343 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.5624, allocations: 0.8888 MB / 0.6352 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5624, allocations: 4 kB / 0.6352 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.563, allocations: 286.2 kB / 0.6354 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.5641, allocations: 240.8 kB / 0.6357 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.5657, allocations: 1.312 MB / 0.6369 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.566, allocations: 0.9098 MB / 0.6378 GB, free: 21.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005245/0.5665, allocations: 148.8 kB / 0.638 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.5667, allocations: 66.03 kB / 0.638 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.5667, allocations: 0 / 0.638 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.02391/0.5906, allocations: 12.46 MB / 0.6502 GB, free: 20.64 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)