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.001342/0.001342, 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.001329/0.001329, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9438/0.9438, allocations: 135.6 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 75.22 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1888, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02172/0.2106, allocations: 19.33 MB / 0.6034 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3329/0.5435, allocations: 5.107 MB / 0.6084 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008211/0.5444, allocations: 17.12 kB / 0.6084 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.5452, allocations: 218.5 kB / 0.6086 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.5469, allocations: 0.7157 MB / 0.6093 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.5488, allocations: 0.8003 MB / 0.6101 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.5502, allocations: 1.549 MB / 0.6116 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.5508, allocations: 0.5024 MB / 0.6121 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008518/0.5516, allocations: 0.6385 MB / 0.6127 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.5521, allocations: 0.5376 MB / 0.6132 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.5522, allocations: 54.22 kB / 0.6133 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.5532, allocations: 0.7028 MB / 0.614 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5534, allocations: 163 kB / 0.6141 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.5537, allocations: 384.5 kB / 0.6145 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009824/0.5546, allocations: 1.083 MB / 0.6155 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5547, allocations: 0 / 0.6155 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5547, allocations: 0 / 0.6155 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.5547, allocations: 2.625 kB / 0.6155 GB, free: 35.64 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.00162/0.5563, allocations: 1.11 MB / 0.6166 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5563, allocations: 9.562 kB / 0.6166 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.5565, allocations: 78.59 kB / 0.6167 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.557, allocations: 0.5041 MB / 0.6172 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5571, allocations: 36.38 kB / 0.6172 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.5571, allocations: 44.72 kB / 0.6173 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008916/0.558, allocations: 0.6267 MB / 0.6179 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5581, allocations: 3.312 kB / 0.6179 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.5581, allocations: 18.09 kB / 0.6179 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5581, allocations: 10.06 kB / 0.6179 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.559, allocations: 498.6 kB / 0.6184 GB, free: 34.05 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.002618/0.5617, allocations: 3.196 MB / 0.6215 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.5623, allocations: 343.5 kB / 0.6219 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.5627, allocations: 236.1 kB / 0.6221 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.563, allocations: 339.3 kB / 0.6224 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.5631, allocations: 37.28 kB / 0.6224 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.5631, allocations: 0 / 0.6224 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001841/0.5649, allocations: 0.807 MB / 0.6232 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5649, allocations: 58.03 kB / 0.6233 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.5655, allocations: 0.5901 MB / 0.6239 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.5655, allocations: 32.92 kB / 0.6239 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.5657, allocations: 331.5 kB / 0.6242 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.5658, allocations: 127.9 kB / 0.6243 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.566, allocations: 136 kB / 0.6245 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.5661, allocations: 375.1 kB / 0.6248 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.5665, allocations: 220.5 kB / 0.625 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.567, allocations: 366.5 kB / 0.6254 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.5678, allocations: 0.5701 MB / 0.6259 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5678, allocations: 0 / 0.6259 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001182/0.569, allocations: 0.7204 MB / 0.6266 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.5691, allocations: 11.75 kB / 0.6266 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5691, allocations: 5.75 kB / 0.6266 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.5696, allocations: 136.6 kB / 0.6268 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.5701, allocations: 142 kB / 0.6269 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/0.5706, allocations: 0.6185 MB / 0.6275 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.5712, allocations: 97.05 kB / 0.6276 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.5712, allocations: 34.92 kB / 0.6276 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005406/0.5718, allocations: 342.8 kB / 0.628 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004627/0.5722, allocations: 362.4 kB / 0.6283 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008075/0.5731, allocations: 0.5687 MB / 0.6289 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.5731, allocations: 0 / 0.6289 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001079/0.5742, allocations: 0.6721 MB / 0.6295 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5742, allocations: 10.41 kB / 0.6295 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5742, allocations: 3.125 kB / 0.6295 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.5742, allocations: 16.5 kB / 0.6296 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.5747, allocations: 155.4 kB / 0.6297 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.5747, allocations: 7.875 kB / 0.6297 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.5753, allocations: 86.55 kB / 0.6298 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.5753, allocations: 31.7 kB / 0.6298 GB, free: 26.61 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.00016/0.5755, allocations: 212.8 kB / 0.63 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.5756, allocations: 65.47 kB / 0.6301 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.5768, allocations: 0.6478 MB / 0.6307 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5768, allocations: 3.047 kB / 0.6307 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5769, allocations: 7.922 kB / 0.6307 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5769, allocations: 6.516 kB / 0.6307 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.5789, allocations: 1.36 MB / 0.6321 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5789, allocations: 4.094 kB / 0.6321 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.5792, allocations: 80.08 kB / 0.6321 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.5795, allocations: 110.3 kB / 0.6323 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.5796, allocations: 10.06 kB / 0.6323 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004341/0.58, allocations: 0.6237 MB / 0.6329 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.58, allocations: 1.25 kB / 0.6329 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.5811, allocations: 0.7024 MB / 0.6336 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.5813, allocations: 197.9 kB / 0.6337 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.5814, allocations: 6.562 kB / 0.6338 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.5818, allocations: 53.08 kB / 0.6338 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.5819, allocations: 33.53 kB / 0.6338 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.5819, allocations: 20.39 kB / 0.6339 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003645/0.5823, allocations: 402 kB / 0.6342 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5823, allocations: 0 / 0.6342 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001025/0.5833, allocations: 387.7 kB / 0.6346 GB, free: 23.99 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.0005952/0.5839, allocations: 299.2 kB / 0.6349 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.5857, allocations: 0.8868 MB / 0.6358 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5857, allocations: 2.719 kB / 0.6358 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.5862, allocations: 288.3 kB / 0.636 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5873, allocations: 249.9 kB / 0.6363 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.5888, allocations: 1.309 MB / 0.6376 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.589, allocations: 0.9105 MB / 0.6384 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004958/0.5895, allocations: 146.9 kB / 0.6386 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5897, allocations: 60.19 kB / 0.6386 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.5897, allocations: 0 / 0.6386 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.0247/0.6144, allocations: 12.46 MB / 0.6508 GB, free: 20.86 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)