Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009867/0.0009867, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0009947/0.0009952, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8443/0.8443, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 8 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5481, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02365/0.5718, allocations: 18.77 MB / 0.602 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.5828, allocations: 5.127 MB / 0.607 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.5848, allocations: 21.16 kB / 0.607 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.5861, allocations: 209.7 kB / 0.6072 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.5894, allocations: 0.7097 MB / 0.6079 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.5924, allocations: 0.7924 MB / 0.6087 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00307/0.5955, allocations: 1.933 MB / 0.6106 GB, free: 260 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.5965, allocations: 441.6 kB / 0.611 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.5981, allocations: 0.5659 MB / 0.6116 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.5993, allocations: 0.5158 MB / 0.6121 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.5995, allocations: 27.5 kB / 0.6121 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.6013, allocations: 0.656 MB / 0.6127 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.6016, allocations: 133.5 kB / 0.6129 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007536/0.6024, allocations: 377.6 kB / 0.6132 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.6043, allocations: 1.039 MB / 0.6142 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6043, allocations: 0 / 0.6142 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6043, allocations: 5 kB / 0.6142 GB, free: 13.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.6043, allocations: 0 / 0.6142 GB, free: 13.94 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00252/0.6069, allocations: 0.9862 MB / 0.6152 GB, free: 13.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6069, allocations: 13.19 kB / 0.6152 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.6072, allocations: 83.75 kB / 0.6153 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.6083, allocations: 0.5063 MB / 0.6158 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.6084, allocations: 37.44 kB / 0.6158 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6085, allocations: 48.16 kB / 0.6159 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.6098, allocations: 0.6391 MB / 0.6165 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.6099, allocations: 1.156 kB / 0.6165 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.6099, allocations: 21.38 kB / 0.6165 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.61, allocations: 12.22 kB / 0.6165 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.6112, allocations: 0.5167 MB / 0.617 GB, free: 11.91 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.004027/0.6153, allocations: 3.207 MB / 0.6202 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.6161, allocations: 362.7 kB / 0.6205 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.6166, allocations: 247.1 kB / 0.6208 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.617, allocations: 348.2 kB / 0.6211 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.6171, allocations: 36.91 kB / 0.6211 GB, free: 8.223 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/0.6171, allocations: 4 kB / 0.6211 GB, free: 8.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002463/0.6196, allocations: 0.8761 MB / 0.622 GB, free: 7.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.6196, allocations: 55 kB / 0.622 GB, free: 7.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/0.6205, allocations: 0.587 MB / 0.6226 GB, free: 7.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.6205, allocations: 36.14 kB / 0.6226 GB, free: 7.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.6208, allocations: 328 kB / 0.623 GB, free: 7.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.6209, allocations: 134.9 kB / 0.6231 GB, free: 6.887 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.621, allocations: 57.03 kB / 0.6231 GB, free: 6.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6212, allocations: 381.5 kB / 0.6235 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.6218, allocations: 221.9 kB / 0.6237 GB, free: 6.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.6225, allocations: 382.1 kB / 0.6241 GB, free: 6.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.6237, allocations: 0.5991 MB / 0.6247 GB, free: 5.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6238, allocations: 1 kB / 0.6247 GB, free: 5.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001652/0.6254, allocations: 0.7487 MB / 0.6254 GB, free: 5.004 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.6256, allocations: 219.6 kB / 0.6256 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6256, allocations: 4 kB / 0.6256 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/0.6263, allocations: 152.7 kB / 0.6257 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.6269, allocations: 155.8 kB / 0.6259 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005845/0.6275, allocations: 0.6225 MB / 0.6265 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.6282, allocations: 99.39 kB / 0.6266 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.6283, allocations: 35.98 kB / 0.6266 GB, free: 3.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.6283, allocations: 10.19 kB / 0.6266 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001345/0.6297, allocations: 0.6271 MB / 0.6273 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6297, allocations: 4 kB / 0.6273 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.6297, allocations: 8.141 kB / 0.6273 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.6304, allocations: 155.8 kB / 0.6274 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6304, allocations: 8 kB / 0.6274 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.6311, allocations: 95.56 kB / 0.6275 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.6311, allocations: 35.97 kB / 0.6276 GB, free: 2.695 MB / 462.1 MB 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.0003176/0.6314, allocations: 270.5 kB / 0.6278 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6316, allocations: 71.09 kB / 0.6279 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.6332, allocations: 0.6668 MB / 0.6285 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.6332, allocations: 4 kB / 0.6285 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.6332, allocations: 3.938 kB / 0.6285 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.6332, allocations: 3.984 kB / 0.6285 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.6359, allocations: 1.407 MB / 0.6299 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.636, allocations: 7.938 kB / 0.6299 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.6363, allocations: 91.88 kB / 0.63 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.6368, allocations: 124.8 kB / 0.6301 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.6369, allocations: 12 kB / 0.6301 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006321/0.6375, allocations: 0.6381 MB / 0.6308 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6375, allocations: 7.969 kB / 0.6308 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.6389, allocations: 0.728 MB / 0.6315 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6393, allocations: 208 kB / 0.6317 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6394, allocations: 8 kB / 0.6317 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.6399, allocations: 51.95 kB / 0.6317 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.774e-05/0.64, allocations: 39.94 kB / 0.6318 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.64, allocations: 15.98 kB / 0.6318 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004808/0.6405, allocations: 403.1 kB / 0.6322 GB, free: 13.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6405, allocations: 0 / 0.6322 GB, free: 13.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001235/0.6418, allocations: 391.3 kB / 0.6325 GB, free: 13.41 MB / 478.1 MB 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.0007519/0.6425, allocations: 307.5 kB / 0.6328 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.6447, allocations: 0.9174 MB / 0.6337 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6447, allocations: 0 / 0.6337 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.6455, allocations: 299.9 kB / 0.634 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.6472, allocations: 265.6 kB / 0.6343 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.6495, allocations: 1.34 MB / 0.6356 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.6501, allocations: 0.908 MB / 0.6365 GB, free: 9.336 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006684/0.6507, allocations: 148.2 kB / 0.6366 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6509, allocations: 63.41 kB / 0.6367 GB, free: 9.137 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6509, allocations: 0 / 0.6367 GB, free: 9.137 MB / 478.1 MB Notification: Performance of Templates: time 0.02445/0.6754, allocations: 12.21 MB / 0.6486 GB, free: 13.11 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)