Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7274/0.7274, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 400.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009344, allocations: 83.91 kB / 483.3 MB, free: 5.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.784e-05, allocations: 2.969 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1917, allocations: 82.31 MB / 0.6404 GB, free: 7.855 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.469, allocations: 362.9 MB / 0.9948 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/1.469, allocations: 101.9 kB / 0.9949 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.121/2.591, allocations: 307.4 MB / 1.295 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.744e-06/2.591, allocations: 0 / 1.295 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.301e-05/2.591, allocations: 27.39 kB / 1.295 GB, free: 170.9 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002206/2.593, allocations: 1.245 MB / 1.296 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/2.593, allocations: 11.5 kB / 1.296 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/2.593, allocations: 122.1 kB / 1.296 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/2.594, allocations: 0.6714 MB / 1.297 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/2.594, allocations: 51.66 kB / 1.297 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/2.595, allocations: 62.38 kB / 1.297 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/2.596, allocations: 0.6542 MB / 1.298 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/2.596, allocations: 3.656 kB / 1.298 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/2.596, allocations: 26.75 kB / 1.298 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/2.596, allocations: 12.88 kB / 1.298 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/2.596, allocations: 427.1 kB / 1.298 GB, free: 169.7 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.003849/2.6, allocations: 2.61 MB / 1.301 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/2.601, allocations: 335.1 kB / 1.301 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/2.601, allocations: 188.2 kB / 1.301 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/2.602, allocations: 348.1 kB / 1.302 GB, free: 168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/2.602, allocations: 334.9 kB / 1.302 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/2.602, allocations: 2.562 kB / 1.302 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001178/2.603, allocations: 0.5656 MB / 1.303 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/2.603, allocations: 243.3 kB / 1.303 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/2.604, allocations: 0.7248 MB / 1.303 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/2.604, allocations: 42.98 kB / 1.304 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/2.604, allocations: 439.2 kB / 1.304 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/2.605, allocations: 121.4 kB / 1.304 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/2.605, allocations: 13.44 kB / 1.304 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/2.605, allocations: 331.4 kB / 1.304 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/2.605, allocations: 200.4 kB / 1.305 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/2.605, allocations: 395.9 kB / 1.305 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/2.606, allocations: 265.1 kB / 1.305 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/2.606, allocations: 0 / 1.305 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001027/2.607, allocations: 0.7457 MB / 1.306 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000253/2.607, allocations: 1.086 MB / 1.307 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/2.607, allocations: 3.938 kB / 1.307 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/2.607, allocations: 3.781 kB / 1.307 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/2.608, allocations: 157.3 kB / 1.307 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/2.609, allocations: 1.781 MB / 1.309 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/2.61, allocations: 123.9 kB / 1.309 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/2.61, allocations: 33.41 kB / 1.309 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/2.61, allocations: 8.688 kB / 1.309 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009203/2.611, allocations: 0.655 MB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/2.611, allocations: 3.969 kB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/2.611, allocations: 7.219 kB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/2.611, allocations: 134.7 kB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/2.611, allocations: 8 kB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/2.612, allocations: 120.1 kB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/2.612, allocations: 28.62 kB / 1.31 GB, free: 163.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/2.612, allocations: 179.5 kB / 1.31 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/2.612, allocations: 102.1 kB / 1.31 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/2.613, allocations: 0.706 MB / 1.311 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/2.614, allocations: 3.938 kB / 1.311 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/2.614, allocations: 0 / 1.311 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/2.614, allocations: 7.781 kB / 1.311 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/2.616, allocations: 1.563 MB / 1.312 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.616, allocations: 0 / 1.312 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/2.616, allocations: 107.1 kB / 1.313 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/2.616, allocations: 3.188 kB / 1.313 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/2.616, allocations: 14.67 kB / 1.313 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005229/2.617, allocations: 1.771 MB / 1.314 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/2.617, allocations: 0 / 1.314 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/2.618, allocations: 1.202 MB / 1.315 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/2.618, allocations: 236.2 kB / 1.316 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/2.618, allocations: 18.98 kB / 1.316 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/2.619, allocations: 70.73 kB / 1.316 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/2.619, allocations: 49.8 kB / 1.316 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/2.619, allocations: 22.61 kB / 1.316 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006689/2.62, allocations: 0.5586 MB / 1.316 GB, free: 160 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.282e-06/2.62, allocations: 0 / 1.316 GB, free: 160 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001611/2.621, allocations: 0.5024 MB / 1.317 GB, free: 159.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009566/2.622, allocations: 476.9 kB / 1.317 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001739/2.624, allocations: 0.968 MB / 1.318 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.624, allocations: 2.656 kB / 1.318 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004839/2.625, allocations: 333.1 kB / 1.319 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/2.627, allocations: 365.2 kB / 1.319 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/2.628, allocations: 1.081 MB / 1.32 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/2.629, allocations: 1.017 MB / 1.321 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008471/2.63, allocations: 217.4 kB / 1.321 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/2.63, allocations: 53.03 kB / 1.321 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/2.63, allocations: 2.906 kB / 1.321 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.02986/2.66, allocations: 18.95 MB / 1.34 GB, free: 154.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)