Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001699/0.001699, allocations: 101 kB / 16.27 MB, free: 5.965 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.00122/0.001219, allocations: 188.7 kB / 17.2 MB, free: 5.59 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.417/1.417, allocations: 222.9 MB / 240.9 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.869/0.869, allocations: 132.2 MB / 423.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.89 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3627, allocations: 80.18 MB / 0.5807 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02547/0.3882, allocations: 30.74 MB / 0.6108 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.4029, allocations: 10.85 MB / 0.6214 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.4042, allocations: 23.81 kB / 0.6214 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.4055, allocations: 397.2 kB / 0.6218 GB, free: 4.188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4087, allocations: 1.145 MB / 0.6229 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.411, allocations: 0.8472 MB / 0.6237 GB, free: 2.199 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.4135, allocations: 2.054 MB / 0.6257 GB, free: 140 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.4145, allocations: 0.6758 MB / 0.6264 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.4164, allocations: 0.9765 MB / 0.6273 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009428/0.4174, allocations: 0.6769 MB / 0.628 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.679e-05/0.4175, allocations: 52 kB / 0.628 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.4187, allocations: 0.6083 MB / 0.6286 GB, free: 13.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.4189, allocations: 171.2 kB / 0.6288 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.4194, allocations: 429.7 kB / 0.6292 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.4208, allocations: 1.09 MB / 0.6303 GB, free: 11.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4208, allocations: 0 / 0.6303 GB, free: 11.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4208, allocations: 0 / 0.6303 GB, free: 11.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4208, allocations: 3.938 kB / 0.6303 GB, free: 11.44 MB / 478.1 MB 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.001859/0.4227, allocations: 1.164 MB / 0.6314 GB, free: 10.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4227, allocations: 8.031 kB / 0.6314 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.4229, allocations: 99.81 kB / 0.6315 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.4237, allocations: 0.5613 MB / 0.6321 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.4238, allocations: 48.94 kB / 0.6321 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4239, allocations: 52 kB / 0.6322 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.4247, allocations: 410.4 kB / 0.6326 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4247, allocations: 0 / 0.6326 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.4248, allocations: 16 kB / 0.6326 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4248, allocations: 12 kB / 0.6326 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.4254, allocations: 303.8 kB / 0.6329 GB, free: 8.688 MB / 478.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.002914/0.4284, allocations: 1.885 MB / 0.6347 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.4288, allocations: 168.7 kB / 0.6349 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.429, allocations: 84.81 kB / 0.635 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.4293, allocations: 340.4 kB / 0.6353 GB, free: 5.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4293, allocations: 30.56 kB / 0.6353 GB, free: 5.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.4294, allocations: 0 / 0.6353 GB, free: 5.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008092/0.4302, allocations: 306.3 kB / 0.6356 GB, free: 5.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4302, allocations: 59.52 kB / 0.6357 GB, free: 5.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.431, allocations: 0.6881 MB / 0.6363 GB, free: 4.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.4311, allocations: 33.7 kB / 0.6364 GB, free: 4.832 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.4313, allocations: 360.7 kB / 0.6367 GB, free: 4.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.4314, allocations: 67 kB / 0.6368 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.4315, allocations: 86.06 kB / 0.6368 GB, free: 4.316 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4317, allocations: 386.7 kB / 0.6372 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.432, allocations: 114.3 kB / 0.6373 GB, free: 3.816 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.4323, allocations: 179.5 kB / 0.6375 GB, free: 3.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.4328, allocations: 240.9 kB / 0.6377 GB, free: 3.379 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4328, allocations: 0 / 0.6377 GB, free: 3.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007891/0.4336, allocations: 393.8 kB / 0.6381 GB, free: 2.988 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4337, allocations: 8 kB / 0.6381 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4337, allocations: 3.984 kB / 0.6381 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4337, allocations: 0 / 0.6381 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4348, allocations: 159.9 kB / 0.6383 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.4362, allocations: 2.371 MB / 0.6406 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.4368, allocations: 55.53 kB / 0.6406 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.4368, allocations: 16 kB / 0.6407 GB, free: 292 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004064/0.4372, allocations: 256 kB / 0.6409 GB, free: 32 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003366/0.4376, allocations: 174.7 kB / 0.6411 GB, free: 15.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004868/0.4381, allocations: 232.5 kB / 0.6413 GB, free: 15.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.4381, allocations: 0 / 0.6413 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000776/0.4389, allocations: 384.7 kB / 0.6417 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.4389, allocations: 8 kB / 0.6417 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4389, allocations: 3.938 kB / 0.6417 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.4389, allocations: 4 kB / 0.6417 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.4394, allocations: 91.88 kB / 0.6418 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4394, allocations: 8.031 kB / 0.6418 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.4398, allocations: 39.81 kB / 0.6418 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.4399, allocations: 19.98 kB / 0.6418 GB, free: 15.04 MB / 494.1 MB 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 0.0001356/0.44, allocations: 192.5 kB / 0.642 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4401, allocations: 75.03 kB / 0.6421 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/0.4409, allocations: 315.8 kB / 0.6424 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4409, allocations: 0 / 0.6424 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4409, allocations: 0 / 0.6424 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4409, allocations: 0 / 0.6424 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.4423, allocations: 0.8975 MB / 0.6433 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4423, allocations: 0 / 0.6433 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.4427, allocations: 71.95 kB / 0.6433 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.4427, allocations: 0 / 0.6433 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4427, allocations: 8 kB / 0.6433 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.444, allocations: 2.356 MB / 0.6456 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.444, allocations: 7.938 kB / 0.6456 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.4446, allocations: 393.9 kB / 0.646 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.4448, allocations: 168.3 kB / 0.6462 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.445, allocations: 4 kB / 0.6462 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.4453, allocations: 23.97 kB / 0.6462 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.4454, allocations: 23.89 kB / 0.6462 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.4454, allocations: 15.94 kB / 0.6462 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005589/0.446, allocations: 475 kB / 0.6467 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.446, allocations: 0 / 0.6467 GB, free: 9.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009333/0.4469, allocations: 355 kB / 0.647 GB, free: 9.492 MB / 494.1 MB 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.0005383/0.4475, allocations: 247.6 kB / 0.6473 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4493, allocations: 0.4993 MB / 0.6478 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.4493, allocations: 0 / 0.6478 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.4497, allocations: 136.1 kB / 0.6479 GB, free: 8.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.4513, allocations: 329.5 kB / 0.6482 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.4532, allocations: 1.157 MB / 0.6493 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.4537, allocations: 0.9257 MB / 0.6502 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4539, allocations: 55.42 kB / 0.6503 GB, free: 6.102 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4539, allocations: 0 / 0.6503 GB, free: 6.102 MB / 494.1 MB Notification: Performance of Templates: time 0.02538/0.4793, allocations: 21.92 MB / 0.6717 GB, free: 320 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)