Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7775/0.7775, allocations: 133.6 MB / 141.6 MB, free: 2.953 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 102.8 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.025e-05, allocations: 4 kB / 0.5535 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4683, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.318, allocations: 360.8 MB / 0.9862 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/1.318, allocations: 99.69 kB / 0.9863 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.826/3.144, allocations: 434.3 MB / 1.41 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/3.144, allocations: 0 / 1.41 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001587/3.145, allocations: 40.64 kB / 1.41 GB, free: 162.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003279/3.148, allocations: 1.326 MB / 1.412 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/3.148, allocations: 9.688 kB / 1.412 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000763/3.149, allocations: 155.1 kB / 1.412 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/3.151, allocations: 0.8187 MB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/3.151, allocations: 17.69 kB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003763/3.151, allocations: 81.44 kB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007318/3.152, allocations: 390.8 kB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/3.153, allocations: 0.5135 MB / 1.414 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/3.153, allocations: 0 / 1.414 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/3.153, allocations: 3.25 kB / 1.414 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/3.153, allocations: 19.23 kB / 1.414 GB, free: 161.2 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004807/3.157, allocations: 2.916 MB / 1.417 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/3.158, allocations: 311.9 kB / 1.417 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/3.158, allocations: 136.2 kB / 1.417 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/3.158, allocations: 347.7 kB / 1.417 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/3.158, allocations: 44.62 kB / 1.417 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/3.158, allocations: 0 / 1.417 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001419/3.16, allocations: 481.7 kB / 1.418 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/3.16, allocations: 51.41 kB / 1.418 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/3.161, allocations: 0.6515 MB / 1.418 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/3.161, allocations: 33.39 kB / 1.419 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/3.161, allocations: 0.537 MB / 1.419 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/3.161, allocations: 113.2 kB / 1.419 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/3.161, allocations: 0 / 1.419 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/3.161, allocations: 328.4 kB / 1.419 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/3.162, allocations: 154.1 kB / 1.42 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/3.163, allocations: 1.369 MB / 1.421 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/3.164, allocations: 380.2 kB / 1.421 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/3.164, allocations: 0 / 1.421 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001441/3.165, allocations: 0.6426 MB / 1.422 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/3.166, allocations: 0.8141 MB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/3.166, allocations: 0 / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/3.166, allocations: 7.906 kB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/3.167, allocations: 205.3 kB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/3.168, allocations: 2.985 MB / 1.426 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/3.172, allocations: 0.8706 MB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/3.172, allocations: 34.09 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/3.172, allocations: 3.875 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/3.173, allocations: 484.1 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/3.173, allocations: 5.844 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/3.173, allocations: 5.969 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/3.174, allocations: 159.5 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/3.174, allocations: 3.812 kB / 1.427 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/3.178, allocations: 0.8651 MB / 1.428 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/3.178, allocations: 28.77 kB / 1.428 GB, free: 153.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005147/3.178, allocations: 139.6 kB / 1.428 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/3.178, allocations: 87.34 kB / 1.428 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/3.18, allocations: 0.548 MB / 1.429 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/3.18, allocations: 3.656 kB / 1.429 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/3.18, allocations: 3.891 kB / 1.429 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/3.18, allocations: 0 / 1.429 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/3.183, allocations: 1.22 MB / 1.43 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/3.183, allocations: 0 / 1.43 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/3.183, allocations: 117.6 kB / 1.43 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/3.183, allocations: 0 / 1.43 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/3.183, allocations: 14.5 kB / 1.43 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/3.184, allocations: 2.94 MB / 1.433 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/3.184, allocations: 6.281 kB / 1.433 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/3.186, allocations: 0.6521 MB / 1.434 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/3.186, allocations: 218.4 kB / 1.434 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/3.186, allocations: 5.812 kB / 1.434 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/3.187, allocations: 63.11 kB / 1.434 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/3.187, allocations: 26 kB / 1.434 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/3.187, allocations: 18.89 kB / 1.434 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006451/3.188, allocations: 487.8 kB / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/3.188, allocations: 3.938 kB / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002723/3.191, allocations: 0.5812 MB / 1.435 GB, free: 149.5 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/3.192, allocations: 0.5117 MB / 1.436 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002416/3.194, allocations: 0.7382 MB / 1.436 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/3.194, allocations: 5.938 kB / 1.436 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/3.195, allocations: 196.6 kB / 1.437 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/3.197, allocations: 395.9 kB / 1.437 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/3.199, allocations: 1.025 MB / 1.438 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/3.2, allocations: 1.053 MB / 1.439 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001645/3.201, allocations: 239.4 kB / 1.439 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/3.201, allocations: 66.27 kB / 1.439 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/3.201, allocations: 0 / 1.439 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.03716/3.239, allocations: 24.53 MB / 1.463 GB, free: 134.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)