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.001047/0.001047, allocations: 108.8 kB / 16.37 MB, free: 6.473 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.001099/0.001099, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 80.2 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01675/0.3195, allocations: 19.44 MB / 0.6005 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0055/0.3251, allocations: 5.157 MB / 0.6055 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006967/0.3258, allocations: 23.81 kB / 0.6055 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.3265, allocations: 266 kB / 0.6058 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.328, allocations: 0.7651 MB / 0.6065 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.3298, allocations: 0.886 MB / 0.6074 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.3311, allocations: 1.547 MB / 0.6089 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.3317, allocations: 0.5201 MB / 0.6094 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.3324, allocations: 0.6226 MB / 0.61 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.3328, allocations: 0.5324 MB / 0.6106 GB, free: 428 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.3329, allocations: 56 kB / 0.6106 GB, free: 372 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.334, allocations: 0.7057 MB / 0.6113 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.3341, allocations: 163.3 kB / 0.6115 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.3345, allocations: 374 kB / 0.6118 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.3358, allocations: 1.096 MB / 0.6129 GB, free: 14.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3358, allocations: 0 / 0.6129 GB, free: 14.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3358, allocations: 0 / 0.6129 GB, free: 14.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3358, 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.001785/0.3376, allocations: 1.109 MB / 0.614 GB, free: 12.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3376, allocations: 8.031 kB / 0.614 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.3378, allocations: 80 kB / 0.6141 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.3386, allocations: 0.5259 MB / 0.6146 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3386, allocations: 40.94 kB / 0.6146 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.3387, allocations: 48 kB / 0.6147 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009712/0.3397, allocations: 0.6216 MB / 0.6153 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3397, allocations: 0 / 0.6153 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.3397, allocations: 24 kB / 0.6153 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3398, allocations: 12 kB / 0.6153 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.3408, allocations: 491.4 kB / 0.6158 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.003669/0.3444, allocations: 3.201 MB / 0.6189 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.3452, allocations: 346.6 kB / 0.6192 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.3457, allocations: 228.8 kB / 0.6194 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.346, allocations: 348.3 kB / 0.6198 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3461, allocations: 38.55 kB / 0.6198 GB, free: 6.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 3.186e-06/0.3461, allocations: 0 / 0.6198 GB, free: 6.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002066/0.3482, allocations: 0.8081 MB / 0.6206 GB, free: 5.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.3482, allocations: 55.41 kB / 0.6206 GB, free: 5.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.3488, allocations: 0.5823 MB / 0.6212 GB, free: 5.004 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.3489, allocations: 33.7 kB / 0.6212 GB, free: 4.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.3491, allocations: 332.3 kB / 0.6216 GB, free: 4.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.3492, allocations: 138 kB / 0.6217 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3494, allocations: 130.2 kB / 0.6218 GB, free: 4.367 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3495, allocations: 382.7 kB / 0.6222 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.35, allocations: 219.3 kB / 0.6224 GB, free: 3.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.3506, allocations: 364 kB / 0.6227 GB, free: 3.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009988/0.3516, allocations: 0.5704 MB / 0.6233 GB, free: 2.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3516, allocations: 0 / 0.6233 GB, free: 2.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001376/0.353, allocations: 0.715 MB / 0.624 GB, free: 1.992 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.353, allocations: 10.5 kB / 0.624 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3531, allocations: 8.031 kB / 0.624 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.3536, allocations: 140.7 kB / 0.6241 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.3542, allocations: 131.8 kB / 0.6243 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005358/0.3547, allocations: 0.6264 MB / 0.6249 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.3552, allocations: 79.33 kB / 0.625 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.3553, allocations: 31.98 kB / 0.625 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005916/0.3559, allocations: 349.3 kB / 0.6253 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005474/0.3565, allocations: 368.1 kB / 0.6257 GB, free: 188 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009767/0.3575, allocations: 0.5589 MB / 0.6262 GB, free: 15.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.3575, allocations: 7.938 kB / 0.6262 GB, free: 15.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001286/0.3588, allocations: 0.6746 MB / 0.6269 GB, free: 14.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3588, allocations: 8 kB / 0.6269 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3588, allocations: 4 kB / 0.6269 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.3588, allocations: 8 kB / 0.6269 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.3594, allocations: 156.2 kB / 0.6271 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3594, allocations: 15.92 kB / 0.6271 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.3599, allocations: 59.66 kB / 0.6271 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.36, allocations: 31.98 kB / 0.6272 GB, free: 14.59 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.0001475/0.3601, allocations: 212.1 kB / 0.6274 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3602, allocations: 67.16 kB / 0.6274 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.3616, allocations: 0.6492 MB / 0.6281 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3616, allocations: 7.938 kB / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3616, allocations: 0 / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3617, allocations: 3.984 kB / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.3639, allocations: 1.365 MB / 0.6294 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.364, allocations: 3.984 kB / 0.6294 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.3643, allocations: 87.83 kB / 0.6295 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.3646, allocations: 108.8 kB / 0.6296 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.3647, allocations: 15.98 kB / 0.6296 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005743/0.3653, allocations: 0.6226 MB / 0.6302 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3653, allocations: 48 / 0.6302 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3665, allocations: 0.7096 MB / 0.6309 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.3668, allocations: 196 kB / 0.6311 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.3669, allocations: 12 kB / 0.6311 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3672, allocations: 27.97 kB / 0.6311 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.3673, allocations: 35.89 kB / 0.6312 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3674, allocations: 19.98 kB / 0.6312 GB, free: 10.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.3678, allocations: 407.1 kB / 0.6316 GB, free: 9.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 0 / 0.6316 GB, free: 9.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009434/0.3688, allocations: 383.4 kB / 0.6319 GB, free: 9.535 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.0005721/0.3693, allocations: 298 kB / 0.6322 GB, free: 9.238 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.3711, allocations: 0.8618 MB / 0.6331 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3711, allocations: 4 kB / 0.6331 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.3718, allocations: 289.2 kB / 0.6333 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.3728, allocations: 236.5 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.001564/0.3744, allocations: 1.053 MB / 0.6346 GB, free: 6.781 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3748, allocations: 0.9038 MB / 0.6355 GB, free: 5.852 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004361/0.3752, allocations: 159.6 kB / 0.6356 GB, free: 5.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3754, allocations: 67.41 kB / 0.6357 GB, free: 5.637 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3754, allocations: 3.938 kB / 0.6357 GB, free: 5.633 MB / 478.1 MB Notification: Performance of Templates: time 0.01925/0.3947, 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)