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.0009658/0.0009659, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001222, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9443/0.9443, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.000326, allocations: 11.94 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 82.3 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.2831/0.4241, allocations: 18.77 MB / 0.6069 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007124/0.4313, allocations: 5.113 MB / 0.6119 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.4321, allocations: 21.39 kB / 0.612 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.4327, allocations: 208.7 kB / 0.6122 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.4343, allocations: 0.7078 MB / 0.6128 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.436, allocations: 0.7961 MB / 0.6136 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.4374, allocations: 1.931 MB / 0.6155 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.4379, allocations: 439.4 kB / 0.6159 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.4386, allocations: 0.5649 MB / 0.6165 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.4391, allocations: 0.5162 MB / 0.617 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.4392, allocations: 26.5 kB / 0.617 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009299/0.4401, allocations: 0.6534 MB / 0.6176 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.4403, allocations: 138.4 kB / 0.6178 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.4405, allocations: 378.8 kB / 0.6181 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.4412, allocations: 0.7535 MB / 0.6189 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4412, allocations: 3 kB / 0.6189 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4412, allocations: 0 / 0.6189 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.4412, allocations: 0 / 0.6189 GB, free: 33.24 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.001466/0.4427, allocations: 0.9947 MB / 0.6199 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4427, allocations: 10.84 kB / 0.6199 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4428, allocations: 77.94 kB / 0.6199 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.4434, allocations: 0.5072 MB / 0.6204 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.4434, allocations: 39.53 kB / 0.6205 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.4435, allocations: 49.12 kB / 0.6205 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.4444, allocations: 0.6342 MB / 0.6211 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4444, allocations: 10.95 kB / 0.6211 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.4445, allocations: 21 kB / 0.6212 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4445, allocations: 16.62 kB / 0.6212 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/0.4455, allocations: 0.5155 MB / 0.6217 GB, free: 32.01 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.002555/0.448, allocations: 3.197 MB / 0.6248 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.4487, allocations: 362.2 kB / 0.6252 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.4491, allocations: 240.6 kB / 0.6254 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.4494, allocations: 356.7 kB / 0.6257 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.4495, allocations: 38.88 kB / 0.6258 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/0.4495, allocations: 0 / 0.6258 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001967/0.4514, allocations: 0.8617 MB / 0.6266 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.4515, allocations: 61.41 kB / 0.6267 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.452, allocations: 0.5845 MB / 0.6272 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.4521, allocations: 33.27 kB / 0.6273 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4522, allocations: 334.8 kB / 0.6276 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.4523, allocations: 127.9 kB / 0.6277 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.4524, allocations: 63.78 kB / 0.6278 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.4525, allocations: 371.4 kB / 0.6281 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.4529, allocations: 228.7 kB / 0.6283 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.4535, allocations: 381.8 kB / 0.6287 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.4544, allocations: 0.6014 MB / 0.6293 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4544, allocations: 0 / 0.6293 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001322/0.4558, allocations: 0.7443 MB / 0.63 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/0.4559, allocations: 228.2 kB / 0.6302 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4559, allocations: 2.969 kB / 0.6302 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.4565, allocations: 160.5 kB / 0.6304 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.457, allocations: 143 kB / 0.6305 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/0.4575, allocations: 0.6225 MB / 0.6311 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.4581, allocations: 110.9 kB / 0.6312 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.4581, allocations: 32.69 kB / 0.6313 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.4581, allocations: 2.625 kB / 0.6313 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.4593, allocations: 0.6256 MB / 0.6319 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4593, allocations: 3 kB / 0.6319 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.4593, allocations: 8.062 kB / 0.6319 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.4599, allocations: 165.6 kB / 0.6321 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4599, allocations: 12.27 kB / 0.6321 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.4604, allocations: 87.8 kB / 0.6321 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.4604, allocations: 35.77 kB / 0.6322 GB, free: 26.38 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 (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.0002238/0.4606, allocations: 275.8 kB / 0.6324 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.4607, allocations: 63.47 kB / 0.6325 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.4621, allocations: 0.6811 MB / 0.6332 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4621, allocations: 3.281 kB / 0.6332 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4621, allocations: 0 / 0.6332 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4621, allocations: 11.25 kB / 0.6332 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.4642, allocations: 1.405 MB / 0.6346 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4642, allocations: 0 / 0.6346 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4646, allocations: 95.86 kB / 0.6346 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.465, allocations: 127.7 kB / 0.6348 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.465, allocations: 17.56 kB / 0.6348 GB, free: 25.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004728/0.4655, allocations: 0.6281 MB / 0.6354 GB, free: 24.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4655, allocations: 0 / 0.6354 GB, free: 24.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.4666, allocations: 0.7416 MB / 0.6361 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.4668, allocations: 199.3 kB / 0.6363 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.4669, allocations: 8.062 kB / 0.6363 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.4674, allocations: 56.16 kB / 0.6364 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.4674, allocations: 35.39 kB / 0.6364 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4675, allocations: 19.56 kB / 0.6364 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003707/0.4679, allocations: 399.7 kB / 0.6368 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4679, allocations: 0 / 0.6368 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001011/0.4689, allocations: 389.5 kB / 0.6372 GB, free: 23.71 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 (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.0005467/0.4694, allocations: 309.5 kB / 0.6375 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.4711, allocations: 0.9139 MB / 0.6384 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4711, allocations: 0 / 0.6384 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.4717, allocations: 302.3 kB / 0.6387 GB, free: 23.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4733, allocations: 269.8 kB / 0.6389 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.4748, allocations: 1.367 MB / 0.6402 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4751, allocations: 0.9041 MB / 0.6411 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.4753, allocations: 64.48 kB / 0.6412 GB, free: 21.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4753, allocations: 0 / 0.6412 GB, free: 21.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.0185/0.4938, allocations: 12.93 MB / 0.6538 GB, free: 20.29 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)