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.001125/0.001125, allocations: 104 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.001078/0.001078, allocations: 192.8 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.239/1.239, 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-master/package.mo): time 0.7355/0.7355, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3094, allocations: 80.92 MB / 0.5858 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01316/0.3226, allocations: 19.44 MB / 0.6048 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.3278, allocations: 5.149 MB / 0.6098 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.3283, allocations: 15.88 kB / 0.6098 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.3289, allocations: 262 kB / 0.61 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3302, allocations: 0.7808 MB / 0.6108 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3316, allocations: 0.8848 MB / 0.6117 GB, free: 144 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3331, allocations: 1.551 MB / 0.6132 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.3337, allocations: 0.5098 MB / 0.6137 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000868/0.3346, allocations: 0.6265 MB / 0.6143 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.3352, allocations: 0.5329 MB / 0.6148 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.3353, allocations: 56 kB / 0.6149 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3363, allocations: 0.7018 MB / 0.6156 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3365, allocations: 163.3 kB / 0.6157 GB, free: 12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.3368, allocations: 382 kB / 0.6161 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.338, allocations: 1.094 MB / 0.6171 GB, free: 10.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.338, allocations: 0 / 0.6171 GB, free: 10.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.338, allocations: 0 / 0.6171 GB, free: 10.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.338, allocations: 4 kB / 0.6171 GB, free: 10.52 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.001712/0.3397, allocations: 1.102 MB / 0.6182 GB, free: 9.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3398, allocations: 17.11 kB / 0.6182 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3399, allocations: 80 kB / 0.6183 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.3407, allocations: 0.5259 MB / 0.6188 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3407, allocations: 37 kB / 0.6189 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.3408, allocations: 48 kB / 0.6189 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.3418, allocations: 0.6176 MB / 0.6195 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3418, allocations: 11.94 kB / 0.6195 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.3418, allocations: 20 kB / 0.6195 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3418, allocations: 12 kB / 0.6196 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.3428, allocations: 495.4 kB / 0.62 GB, free: 7.41 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.003323/0.3462, allocations: 3.193 MB / 0.6231 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.3468, allocations: 350.7 kB / 0.6235 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.3473, allocations: 226.9 kB / 0.6237 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.3476, allocations: 344.4 kB / 0.624 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3476, allocations: 38.56 kB / 0.6241 GB, free: 2.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.925e-06/0.3476, allocations: 0 / 0.6241 GB, free: 2.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002006/0.3496, allocations: 0.8075 MB / 0.6249 GB, free: 2.156 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3497, allocations: 59.41 kB / 0.6249 GB, free: 2.086 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006341/0.3503, allocations: 0.5861 MB / 0.6255 GB, free: 1.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3504, allocations: 41.64 kB / 0.6255 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3506, allocations: 328.4 kB / 0.6258 GB, free: 1.117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.335e-05/0.3507, allocations: 134.1 kB / 0.626 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3509, allocations: 126.1 kB / 0.6261 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.351, allocations: 378.7 kB / 0.6264 GB, free: 488 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.3515, allocations: 219.4 kB / 0.6267 GB, free: 264 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.3521, allocations: 375.9 kB / 0.627 GB, free: 15.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3531, allocations: 0.5666 MB / 0.6276 GB, free: 15.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3531, allocations: 0 / 0.6276 GB, free: 15.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001389/0.3545, allocations: 0.7183 MB / 0.6283 GB, free: 14.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3545, allocations: 8 kB / 0.6283 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.3546, allocations: 8 kB / 0.6283 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.3551, allocations: 133.3 kB / 0.6284 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.3557, allocations: 139.8 kB / 0.6285 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005344/0.3562, allocations: 0.6225 MB / 0.6291 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.3567, allocations: 75.34 kB / 0.6292 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.3568, allocations: 31.98 kB / 0.6293 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006061/0.3574, allocations: 353.3 kB / 0.6296 GB, free: 13.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005741/0.358, allocations: 364 kB / 0.6299 GB, free: 12.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009688/0.359, allocations: 0.5549 MB / 0.6305 GB, free: 12.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.359, allocations: 0 / 0.6305 GB, free: 12.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001273/0.3602, allocations: 0.679 MB / 0.6311 GB, free: 11.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3603, allocations: 10.19 kB / 0.6312 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3603, allocations: 4 kB / 0.6312 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.3603, allocations: 8 kB / 0.6312 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.3609, allocations: 159.8 kB / 0.6313 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.3609, allocations: 15.88 kB / 0.6313 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.3614, allocations: 67.7 kB / 0.6314 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.3615, allocations: 35.98 kB / 0.6314 GB, free: 11.07 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.0001692/0.3616, allocations: 213 kB / 0.6316 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3617, allocations: 67.16 kB / 0.6317 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.3632, allocations: 0.6278 MB / 0.6323 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.3632, allocations: 7.938 kB / 0.6323 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3632, allocations: 12 kB / 0.6323 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3632, allocations: 4 kB / 0.6323 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.3655, allocations: 1.367 MB / 0.6337 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3656, allocations: 4 kB / 0.6337 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.3659, allocations: 83.88 kB / 0.6337 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003175/0.3663, allocations: 104.9 kB / 0.6338 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.3663, allocations: 15.98 kB / 0.6339 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005721/0.3669, allocations: 0.6226 MB / 0.6345 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3669, allocations: 0 / 0.6345 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3681, allocations: 0.7018 MB / 0.6352 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.3684, allocations: 192.1 kB / 0.6353 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.3685, allocations: 19.98 kB / 0.6354 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3689, allocations: 27.97 kB / 0.6354 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.369, allocations: 31.95 kB / 0.6354 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.369, allocations: 16 kB / 0.6354 GB, free: 6.797 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004396/0.3694, allocations: 407 kB / 0.6358 GB, free: 6.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3695, allocations: 0 / 0.6358 GB, free: 6.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3705, allocations: 387.4 kB / 0.6362 GB, free: 6.027 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.0006472/0.3711, allocations: 302.1 kB / 0.6365 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.373, allocations: 0.878 MB / 0.6373 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.373, allocations: 0 / 0.6373 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006567/0.3736, allocations: 284.6 kB / 0.6376 GB, free: 4.574 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3747, allocations: 229.4 kB / 0.6378 GB, free: 4.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3764, allocations: 1.062 MB / 0.6389 GB, free: 3.262 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3768, allocations: 0.9116 MB / 0.6398 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.3773, allocations: 152.7 kB / 0.6399 GB, free: 2.176 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3775, allocations: 63.42 kB / 0.64 GB, free: 2.113 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3775, allocations: 3.938 kB / 0.64 GB, free: 2.109 MB / 478.1 MB Notification: Performance of Templates: time 0.02343/0.4009, allocations: 12.6 MB / 0.6523 GB, free: 5.684 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)