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.001229/0.001229, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001319/0.001319, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.062/1.062, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004847, allocations: 12 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2415, allocations: 82.31 MB / 0.5874 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02465/0.2662, allocations: 17.79 MB / 0.6048 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4076/0.6739, allocations: 4.833 MB / 0.6095 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.6747, allocations: 19.31 kB / 0.6095 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.6754, allocations: 191.4 kB / 0.6097 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.6771, allocations: 0.6177 MB / 0.6103 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.6789, allocations: 0.7337 MB / 0.611 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.6808, allocations: 1.678 MB / 0.6126 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.6814, allocations: 424.3 kB / 0.613 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008388/0.6822, allocations: 0.5345 MB / 0.6136 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.6828, allocations: 0.4949 MB / 0.614 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.6829, allocations: 27.91 kB / 0.6141 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.684, allocations: 0.5957 MB / 0.6146 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.6841, allocations: 125.8 kB / 0.6148 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.6843, allocations: 153.5 kB / 0.6149 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.685, allocations: 0.7456 MB / 0.6156 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.685, allocations: 0 / 0.6156 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.685, allocations: 4 kB / 0.6156 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.685, allocations: 0 / 0.6156 GB, free: 34.04 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.001512/0.6865, allocations: 0.994 MB / 0.6166 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6866, allocations: 12.5 kB / 0.6166 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.6867, allocations: 87.48 kB / 0.6167 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.6874, allocations: 482.2 kB / 0.6172 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.6874, allocations: 36.56 kB / 0.6172 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.6875, allocations: 51 kB / 0.6173 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/0.6884, allocations: 0.6348 MB / 0.6179 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.6884, allocations: 3.938 kB / 0.6179 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.6885, allocations: 20.78 kB / 0.6179 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.6885, allocations: 15.05 kB / 0.6179 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/0.6894, allocations: 0.5177 MB / 0.6184 GB, free: 32.86 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.002733/0.6921, allocations: 3.201 MB / 0.6215 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.6928, allocations: 359 kB / 0.6219 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.6932, allocations: 244 kB / 0.6221 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.6936, allocations: 350.8 kB / 0.6225 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.6936, allocations: 33.56 kB / 0.6225 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.154e-06/0.6936, allocations: 7.938 kB / 0.6225 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001893/0.6955, allocations: 0.8658 MB / 0.6233 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.6956, allocations: 54.47 kB / 0.6234 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.6962, allocations: 0.5826 MB / 0.624 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.6962, allocations: 35.67 kB / 0.624 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.6964, allocations: 330 kB / 0.6243 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.6965, allocations: 126.5 kB / 0.6244 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.6965, allocations: 13.25 kB / 0.6244 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6966, allocations: 377.5 kB / 0.6248 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.6971, allocations: 216.1 kB / 0.625 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.6976, allocations: 379.2 kB / 0.6254 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.6981, allocations: 258.1 kB / 0.6256 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6981, allocations: 2.734 kB / 0.6256 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001266/0.6994, allocations: 0.7231 MB / 0.6263 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.6995, allocations: 221.8 kB / 0.6265 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6995, allocations: 9.719 kB / 0.6265 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.7, allocations: 146.7 kB / 0.6267 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.7006, allocations: 158.1 kB / 0.6268 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/0.7011, allocations: 0.6365 MB / 0.6275 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.7017, allocations: 101.2 kB / 0.6276 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.7017, allocations: 30.75 kB / 0.6276 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.7017, allocations: 6.562 kB / 0.6276 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00106/0.7028, allocations: 0.6169 MB / 0.6282 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7028, allocations: 5.812 kB / 0.6282 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.7028, allocations: 8.781 kB / 0.6282 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.7034, allocations: 167.6 kB / 0.6284 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.7034, allocations: 16.42 kB / 0.6284 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.7039, allocations: 91.17 kB / 0.6285 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.7039, allocations: 29.58 kB / 0.6285 GB, free: 27.92 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002766/0.7042, allocations: 271 kB / 0.6288 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.7043, allocations: 64.53 kB / 0.6288 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.7056, allocations: 0.6747 MB / 0.6295 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7056, allocations: 5.75 kB / 0.6295 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7056, allocations: 3.953 kB / 0.6295 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.7057, allocations: 3.562 kB / 0.6295 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.7078, allocations: 1.397 MB / 0.6309 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.7078, allocations: 3.812 kB / 0.6309 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.7081, allocations: 90.58 kB / 0.6309 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.7085, allocations: 133.8 kB / 0.6311 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.7085, allocations: 12.62 kB / 0.6311 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004635/0.709, allocations: 0.64 MB / 0.6317 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.709, allocations: 2.906 kB / 0.6317 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.7102, allocations: 0.7281 MB / 0.6324 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.7104, allocations: 205.7 kB / 0.6326 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.7104, allocations: 12.95 kB / 0.6326 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.7108, allocations: 52.98 kB / 0.6327 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.7109, allocations: 32.11 kB / 0.6327 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.7109, allocations: 15.88 kB / 0.6327 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003894/0.7113, allocations: 394.9 kB / 0.6331 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7114, allocations: 0 / 0.6331 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001099/0.7125, allocations: 393.4 kB / 0.6335 GB, free: 26.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006005/0.7131, allocations: 300.9 kB / 0.6338 GB, free: 26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.715, allocations: 0.9127 MB / 0.6347 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.715, allocations: 3 kB / 0.6347 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.7156, allocations: 295.3 kB / 0.6349 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.7169, allocations: 266.1 kB / 0.6352 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.7186, allocations: 1.295 MB / 0.6365 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.7189, allocations: 0.9178 MB / 0.6374 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000558/0.7195, allocations: 157.2 kB / 0.6375 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7196, allocations: 61.52 kB / 0.6376 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of SimCode: time 6.22e-07/0.7196, allocations: 0 / 0.6376 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.02189/0.7415, allocations: 11.73 MB / 0.649 GB, free: 23.5 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)