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.001096/0.001096, allocations: 105 kB / 16.35 MB, free: 5.824 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.001064/0.001064, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.358, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01672/0.3747, allocations: 19.45 MB / 0.6005 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.3815, allocations: 5.152 MB / 0.6055 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009522/0.3825, allocations: 19.88 kB / 0.6055 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.3835, allocations: 266 kB / 0.6058 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.3855, allocations: 0.7692 MB / 0.6065 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.3873, allocations: 0.8749 MB / 0.6074 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.3889, allocations: 1.557 MB / 0.6089 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.3895, allocations: 0.5066 MB / 0.6094 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/0.3903, allocations: 0.6298 MB / 0.61 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.3909, allocations: 0.5251 MB / 0.6105 GB, free: 436 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.428e-05/0.3909, allocations: 56 kB / 0.6106 GB, free: 380 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.3922, allocations: 0.7018 MB / 0.6113 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.3924, allocations: 171.3 kB / 0.6114 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.3928, allocations: 374 kB / 0.6118 GB, free: 15.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.394, allocations: 1.098 MB / 0.6129 GB, free: 14.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.394, allocations: 3.5 kB / 0.6129 GB, free: 14.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3941, allocations: 0 / 0.6129 GB, free: 14.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3941, allocations: 0 / 0.6129 GB, free: 14.03 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.001851/0.3959, allocations: 1.11 MB / 0.614 GB, free: 12.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.396, allocations: 8.031 kB / 0.614 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3961, allocations: 80 kB / 0.614 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.397, allocations: 0.522 MB / 0.6146 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.397, allocations: 37 kB / 0.6146 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.3971, allocations: 48 kB / 0.6146 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3981, allocations: 0.6255 MB / 0.6152 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3981, allocations: 4 kB / 0.6152 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.3982, allocations: 16 kB / 0.6153 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.3982, allocations: 15.94 kB / 0.6153 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.3991, allocations: 495.4 kB / 0.6157 GB, free: 10.93 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.003359/0.4025, allocations: 3.201 MB / 0.6189 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.4032, allocations: 357.1 kB / 0.6192 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.4037, allocations: 223.2 kB / 0.6194 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.404, allocations: 348.4 kB / 0.6198 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.404, allocations: 38.56 kB / 0.6198 GB, free: 6.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.455e-06/0.404, allocations: 3.938 kB / 0.6198 GB, free: 6.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002019/0.4061, allocations: 0.8041 MB / 0.6206 GB, free: 5.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4061, allocations: 55.41 kB / 0.6206 GB, free: 5.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.4068, allocations: 0.5862 MB / 0.6212 GB, free: 5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.4068, allocations: 33.7 kB / 0.6212 GB, free: 4.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.4071, allocations: 332.4 kB / 0.6216 GB, free: 4.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4072, allocations: 134 kB / 0.6217 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.4074, allocations: 134.2 kB / 0.6218 GB, free: 4.363 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4075, allocations: 370.7 kB / 0.6222 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.408, allocations: 223.3 kB / 0.6224 GB, free: 3.773 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.4086, allocations: 360 kB / 0.6227 GB, free: 3.355 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4096, allocations: 0.5744 MB / 0.6233 GB, free: 2.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4096, allocations: 4 kB / 0.6233 GB, free: 2.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001414/0.4111, allocations: 0.7187 MB / 0.624 GB, free: 1.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4111, allocations: 7.984 kB / 0.624 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4111, allocations: 8 kB / 0.624 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.4117, allocations: 128.8 kB / 0.6241 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.4122, allocations: 140 kB / 0.6243 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005461/0.4128, allocations: 0.6225 MB / 0.6249 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.4133, allocations: 83.33 kB / 0.625 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.4134, allocations: 31.98 kB / 0.625 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006376/0.414, allocations: 353.4 kB / 0.6253 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005495/0.4146, allocations: 364 kB / 0.6257 GB, free: 188 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009591/0.4155, allocations: 0.5626 MB / 0.6262 GB, free: 15.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4155, allocations: 0 / 0.6262 GB, free: 15.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001238/0.4168, allocations: 0.6745 MB / 0.6269 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.4168, allocations: 4 kB / 0.6269 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4168, allocations: 8 kB / 0.6269 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.4168, allocations: 8.5 kB / 0.6269 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.4174, allocations: 155.8 kB / 0.627 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4174, allocations: 15.92 kB / 0.6271 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.4179, allocations: 63.59 kB / 0.6271 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.418, allocations: 31.98 kB / 0.6271 GB, free: 14.6 MB / 478.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.0001833/0.4182, allocations: 212.1 kB / 0.6274 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4183, allocations: 71.16 kB / 0.6274 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.4197, allocations: 0.6316 MB / 0.628 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4198, allocations: 15.88 kB / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4198, allocations: 0 / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4198, allocations: 3.984 kB / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.4221, allocations: 1.372 MB / 0.6294 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4221, allocations: 0 / 0.6294 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.4225, allocations: 84.05 kB / 0.6295 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.4228, allocations: 112.8 kB / 0.6296 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.4228, allocations: 12 kB / 0.6296 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005723/0.4234, allocations: 0.6226 MB / 0.6302 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4234, allocations: 4.031 kB / 0.6302 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4246, allocations: 0.7018 MB / 0.6309 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.4249, allocations: 200 kB / 0.6311 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.425, allocations: 4 kB / 0.6311 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.4254, allocations: 35.95 kB / 0.6311 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.4254, allocations: 35.91 kB / 0.6312 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.4255, allocations: 15.98 kB / 0.6312 GB, free: 10.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004449/0.4259, allocations: 403.1 kB / 0.6316 GB, free: 9.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4259, allocations: 0 / 0.6316 GB, free: 9.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001136/0.4271, allocations: 383.4 kB / 0.6319 GB, free: 9.543 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.0007016/0.4278, allocations: 310.5 kB / 0.6322 GB, free: 9.242 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.4298, allocations: 0.8706 MB / 0.6331 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4298, allocations: 0 / 0.6331 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.4304, allocations: 292 kB / 0.6333 GB, free: 8.086 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4315, allocations: 228.4 kB / 0.6336 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4333, allocations: 1.062 MB / 0.6346 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.4338, allocations: 0.9116 MB / 0.6355 GB, free: 5.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004998/0.4343, allocations: 148.4 kB / 0.6356 GB, free: 5.699 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.4344, allocations: 59.41 kB / 0.6357 GB, free: 5.641 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4344, allocations: 0 / 0.6357 GB, free: 5.641 MB / 478.1 MB Notification: Performance of Templates: time 0.02067/0.4551, allocations: 12.61 MB / 0.648 GB, free: 9.203 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)