Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001302/0.001302, allocations: 190.8 kB / 16.25 MB, free: 6.645 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 61.38 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1731, allocations: 81.03 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3051/0.4782, allocations: 30.52 MB / 0.6143 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4884, allocations: 10.78 MB / 0.6248 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009741/0.4894, allocations: 25.41 kB / 0.6249 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009839/0.4905, allocations: 335.5 kB / 0.6252 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.4929, allocations: 1.056 MB / 0.6262 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.4947, allocations: 0.7718 MB / 0.627 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.4963, allocations: 2.065 MB / 0.629 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.4971, allocations: 0.6615 MB / 0.6296 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.4985, allocations: 0.9853 MB / 0.6306 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.4991, allocations: 0.687 MB / 0.6313 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.4991, allocations: 54.28 kB / 0.6313 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008866/0.5, allocations: 0.6139 MB / 0.6319 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.5002, allocations: 164.2 kB / 0.6321 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.5005, allocations: 440.6 kB / 0.6325 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008979/0.5014, allocations: 1.089 MB / 0.6336 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5014, allocations: 0 / 0.6336 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5014, allocations: 0 / 0.6336 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5014, allocations: 4 kB / 0.6336 GB, free: 26.65 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001399/0.5028, allocations: 1.154 MB / 0.6347 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5028, allocations: 12.88 kB / 0.6347 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.503, allocations: 96.38 kB / 0.6348 GB, free: 25.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.5035, allocations: 0.5555 MB / 0.6353 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.5036, allocations: 48.81 kB / 0.6354 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.5036, allocations: 52.78 kB / 0.6354 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.5042, allocations: 410.1 kB / 0.6358 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5043, allocations: 0 / 0.6358 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.5043, allocations: 22.31 kB / 0.6358 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5043, allocations: 12.59 kB / 0.6359 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.5048, allocations: 306.8 kB / 0.6361 GB, free: 25.07 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.002101/0.5069, allocations: 1.855 MB / 0.638 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.5072, allocations: 165 kB / 0.6381 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.5074, allocations: 85.55 kB / 0.6382 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.5076, allocations: 342.2 kB / 0.6385 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.5076, allocations: 33.44 kB / 0.6386 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.5076, allocations: 7.984 kB / 0.6386 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006047/0.5082, allocations: 305.2 kB / 0.6389 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5082, allocations: 54.56 kB / 0.6389 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.5088, allocations: 0.6798 MB / 0.6396 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5089, allocations: 32.42 kB / 0.6396 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.509, allocations: 364.1 kB / 0.6399 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.5091, allocations: 66.22 kB / 0.64 GB, free: 22.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.5092, allocations: 96.34 kB / 0.6401 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.5093, allocations: 376 kB / 0.6405 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.5095, allocations: 119 kB / 0.6406 GB, free: 22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.5097, allocations: 178.4 kB / 0.6407 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.5101, allocations: 237.7 kB / 0.641 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5101, allocations: 0 / 0.641 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005785/0.5107, allocations: 394.1 kB / 0.6413 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5107, allocations: 6.125 kB / 0.6414 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5107, allocations: 0 / 0.6414 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5108, allocations: 6.875 kB / 0.6414 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/0.5117, allocations: 159.7 kB / 0.6415 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.5125, allocations: 2.364 MB / 0.6438 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.513, allocations: 89.03 kB / 0.6439 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.513, allocations: 18.91 kB / 0.6439 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003116/0.5134, allocations: 250.3 kB / 0.6442 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002244/0.5136, allocations: 173 kB / 0.6443 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003383/0.5139, allocations: 230 kB / 0.6445 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.514, allocations: 0 / 0.6445 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005387/0.5145, allocations: 374.1 kB / 0.6449 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.5145, allocations: 7.875 kB / 0.6449 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.5145, allocations: 0 / 0.6449 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/0.5145, allocations: 6.562 kB / 0.6449 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.5149, allocations: 104.7 kB / 0.645 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5149, allocations: 2.625 kB / 0.645 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.5154, allocations: 75.38 kB / 0.6451 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.5154, allocations: 14.5 kB / 0.6451 GB, free: 18.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.5155, allocations: 196.1 kB / 0.6453 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.5156, allocations: 66.84 kB / 0.6454 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.5162, allocations: 318.6 kB / 0.6457 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5162, allocations: 2.625 kB / 0.6457 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5162, allocations: 2.938 kB / 0.6457 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5162, allocations: 2.625 kB / 0.6457 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.5172, allocations: 0.8908 MB / 0.6465 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5172, allocations: 2.688 kB / 0.6465 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.5175, allocations: 75.12 kB / 0.6466 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5175, allocations: 3.188 kB / 0.6466 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5175, allocations: 6.016 kB / 0.6466 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005756/0.5181, allocations: 2.359 MB / 0.6489 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5181, allocations: 4.094 kB / 0.6489 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.5185, allocations: 396.7 kB / 0.6493 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.5187, allocations: 162.2 kB / 0.6495 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.5188, allocations: 11.03 kB / 0.6495 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.5191, allocations: 56.34 kB / 0.6495 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.5192, allocations: 19.73 kB / 0.6495 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.5192, allocations: 13.78 kB / 0.6496 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003987/0.5196, allocations: 478.3 kB / 0.65 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5196, allocations: 0 / 0.65 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007334/0.5204, allocations: 350.5 kB / 0.6503 GB, free: 14.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004257/0.5208, allocations: 236.8 kB / 0.6506 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.5222, allocations: 0.498 MB / 0.6511 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5222, allocations: 0 / 0.6511 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.5226, allocations: 137.9 kB / 0.6512 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.524, allocations: 332.3 kB / 0.6515 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5256, allocations: 1.384 MB / 0.6529 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.5259, allocations: 0.9343 MB / 0.6538 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004071/0.5263, allocations: 117.4 kB / 0.6539 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5265, allocations: 47.11 kB / 0.6539 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5265, allocations: 0.7812 kB / 0.6539 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.02588/0.5523, allocations: 12.47 MB / 0.6661 GB, free: 11.66 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)