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.000998/0.0009981, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001275/0.001275, allocations: 168.7 kB / 15.95 MB, free: 200 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.287/1.287, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7374/0.7374, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8 kB / 0.5034 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3432, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01727/0.3605, allocations: 17.79 MB / 0.6005 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006461/0.367, allocations: 4.847 MB / 0.6052 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.3674, allocations: 24.5 kB / 0.6052 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.368, allocations: 193.2 kB / 0.6054 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.3692, allocations: 0.6172 MB / 0.606 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.3708, allocations: 0.7342 MB / 0.6067 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.3725, allocations: 1.672 MB / 0.6084 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.373, allocations: 421 kB / 0.6088 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.3738, allocations: 0.54 MB / 0.6093 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.3744, allocations: 499.1 kB / 0.6098 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.3745, allocations: 32.72 kB / 0.6098 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009672/0.3754, allocations: 0.5912 MB / 0.6104 GB, free: 356 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3756, allocations: 126.5 kB / 0.6105 GB, free: 256 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3757, allocations: 160.9 kB / 0.6106 GB, free: 156 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.3765, allocations: 0.7425 MB / 0.6114 GB, free: 15.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3765, allocations: 4.938 kB / 0.6114 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3765, allocations: 0 / 0.6114 GB, free: 15.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3766, allocations: 0 / 0.6114 GB, free: 15.67 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.001603/0.3782, allocations: 0.9944 MB / 0.6123 GB, free: 14.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3782, allocations: 8.062 kB / 0.6124 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3783, allocations: 87.56 kB / 0.6124 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.379, allocations: 480.8 kB / 0.6129 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.379, allocations: 41.78 kB / 0.6129 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.3791, allocations: 48.06 kB / 0.613 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3801, allocations: 0.6339 MB / 0.6136 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3801, allocations: 2.219 kB / 0.6136 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.3802, allocations: 24.75 kB / 0.6136 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3802, allocations: 12.59 kB / 0.6136 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3812, allocations: 0.5093 MB / 0.6141 GB, free: 13.68 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.003091/0.3844, allocations: 3.211 MB / 0.6173 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.385, allocations: 356.1 kB / 0.6176 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.3855, allocations: 241.7 kB / 0.6178 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.3859, allocations: 352.2 kB / 0.6182 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3859, allocations: 36.53 kB / 0.6182 GB, free: 9.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.503e-06/0.3859, allocations: 1.156 kB / 0.6182 GB, free: 9.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.00207/0.388, allocations: 0.863 MB / 0.6191 GB, free: 9.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.388, allocations: 56.59 kB / 0.6191 GB, free: 9.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.3887, allocations: 0.5807 MB / 0.6197 GB, free: 9.105 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.3887, allocations: 36.14 kB / 0.6197 GB, free: 9.066 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.389, allocations: 332.4 kB / 0.62 GB, free: 8.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.3891, allocations: 134.2 kB / 0.6202 GB, free: 8.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3891, allocations: 15.12 kB / 0.6202 GB, free: 8.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3892, allocations: 371.6 kB / 0.6205 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.3897, allocations: 217.3 kB / 0.6207 GB, free: 8.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.3903, allocations: 374.5 kB / 0.6211 GB, free: 7.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.3909, allocations: 256.6 kB / 0.6213 GB, free: 7.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3909, allocations: 2 kB / 0.6213 GB, free: 7.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001382/0.3923, allocations: 0.7299 MB / 0.6221 GB, free: 7.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.3924, allocations: 229.8 kB / 0.6223 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3924, allocations: 7.688 kB / 0.6223 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.393, allocations: 150.6 kB / 0.6224 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.3937, allocations: 151.2 kB / 0.6226 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005863/0.3943, allocations: 0.633 MB / 0.6232 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.3949, allocations: 107.1 kB / 0.6233 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.3949, allocations: 34.55 kB / 0.6233 GB, free: 6.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.3949, allocations: 7.859 kB / 0.6233 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.3962, allocations: 0.6201 MB / 0.6239 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3962, allocations: 4.562 kB / 0.6239 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.3962, allocations: 12 kB / 0.6239 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.3968, allocations: 163.8 kB / 0.6241 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3968, allocations: 11.94 kB / 0.6241 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.3973, allocations: 91.47 kB / 0.6242 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.3974, allocations: 27.98 kB / 0.6242 GB, free: 5.715 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 (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.0002424/0.3976, allocations: 268.9 kB / 0.6245 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.3977, allocations: 71.11 kB / 0.6246 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.3991, allocations: 0.6813 MB / 0.6252 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3992, allocations: 4 kB / 0.6252 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3992, allocations: 0 / 0.6252 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3992, allocations: 3.984 kB / 0.6252 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.4015, allocations: 1.386 MB / 0.6266 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4015, allocations: 0 / 0.6266 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.4019, allocations: 95.88 kB / 0.6267 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.4023, allocations: 132.9 kB / 0.6268 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.4023, allocations: 16 kB / 0.6268 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005586/0.4029, allocations: 0.6419 MB / 0.6274 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4029, allocations: 0 / 0.6274 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.4041, allocations: 0.7319 MB / 0.6282 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.4044, allocations: 196.1 kB / 0.6283 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.4045, allocations: 8 kB / 0.6283 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.4049, allocations: 55.95 kB / 0.6284 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.405, allocations: 31.95 kB / 0.6284 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.405, allocations: 23.98 kB / 0.6285 GB, free: 1.219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.4054, allocations: 395.1 kB / 0.6288 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4054, allocations: 0 / 0.6288 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4065, allocations: 383.3 kB / 0.6292 GB, free: 476 kB / 462.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 (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.0005673/0.4071, allocations: 301.5 kB / 0.6295 GB, free: 168 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.409, allocations: 0.9147 MB / 0.6304 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.409, allocations: 4 kB / 0.6304 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.4097, allocations: 295.9 kB / 0.6307 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.411, allocations: 279 kB / 0.6309 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4128, allocations: 1.292 MB / 0.6322 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4132, allocations: 0.9119 MB / 0.6331 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005692/0.4138, allocations: 148.1 kB / 0.6332 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.4139, allocations: 59.42 kB / 0.6333 GB, free: 12.23 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4139, allocations: 0 / 0.6333 GB, free: 12.23 MB / 478.1 MB Notification: Performance of Templates: time 0.01854/0.4325, allocations: 11.76 MB / 0.6448 GB, free: 0.6602 MB / 478.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)