Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002653/0.002652, allocations: 354.1 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.408/1.408, allocations: 165.8 MB / 183.1 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.71/3.71, allocations: 410.8 MB / 0.6001 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001808/0.001808, allocations: 191.6 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.00047, allocations: 12 kB / 0.7429 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.407, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.691, allocations: 363 MB / 1.163 GB, free: 153.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.692, allocations: 97.38 kB / 1.163 GB, free: 153.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.413/3.105, allocations: 300.2 MB / 1.457 GB, free: 136.4 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.104e-06/3.105, allocations: 0 / 1.457 GB, free: 136.4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.781e-05/3.105, allocations: 27.91 kB / 1.457 GB, free: 136.4 MB / 0.573 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.0037/3.109, allocations: 1.4 MB / 1.458 GB, free: 135 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/3.109, allocations: 8.031 kB / 1.458 GB, free: 135 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/3.109, allocations: 122.6 kB / 1.458 GB, free: 134.8 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/3.111, allocations: 0.6733 MB / 1.459 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/3.111, allocations: 53.27 kB / 1.459 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/3.112, allocations: 72 kB / 1.459 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/3.113, allocations: 0.6831 MB / 1.459 GB, free: 133.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/3.113, allocations: 7.938 kB / 1.459 GB, free: 133.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/3.113, allocations: 20 kB / 1.459 GB, free: 133.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/3.113, allocations: 18.94 kB / 1.46 GB, free: 133.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/3.115, allocations: 468.9 kB / 1.46 GB, free: 132.8 MB / 0.573 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.005411/3.12, allocations: 2.612 MB / 1.463 GB, free: 130.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/3.122, allocations: 416.6 kB / 1.463 GB, free: 129.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/3.122, allocations: 220.2 kB / 1.463 GB, free: 129.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/3.123, allocations: 340.2 kB / 1.463 GB, free: 129.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007987/3.123, allocations: 356.5 kB / 1.464 GB, free: 128.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 2.825e-06/3.123, allocations: 0 / 1.464 GB, free: 128.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.002553/3.126, allocations: 0.8092 MB / 1.465 GB, free: 127.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/3.126, allocations: 235.6 kB / 1.465 GB, free: 127.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/3.128, allocations: 0.8349 MB / 1.466 GB, free: 126.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/3.128, allocations: 41.7 kB / 1.466 GB, free: 126.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/3.128, allocations: 440.2 kB / 1.466 GB, free: 126.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/3.128, allocations: 118.1 kB / 1.466 GB, free: 126.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/3.128, allocations: 12 kB / 1.466 GB, free: 126.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/3.129, allocations: 330 kB / 1.467 GB, free: 125.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/3.129, allocations: 228.3 kB / 1.467 GB, free: 125.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008503/3.13, allocations: 435.2 kB / 1.467 GB, free: 125.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/3.131, allocations: 280.9 kB / 1.467 GB, free: 124.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/3.131, allocations: 4 kB / 1.467 GB, free: 124.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002405/3.133, allocations: 0.8028 MB / 1.468 GB, free: 124 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/3.134, allocations: 204.4 kB / 1.468 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/3.134, allocations: 4.547 kB / 1.468 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/3.134, allocations: 10.78 kB / 1.468 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/3.136, allocations: 184.7 kB / 1.469 GB, free: 123.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/3.137, allocations: 1.779 MB / 1.47 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/3.138, allocations: 131.1 kB / 1.47 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/3.138, allocations: 39.58 kB / 1.47 GB, free: 121.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/3.138, allocations: 6.812 kB / 1.47 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001966/3.14, allocations: 0.7077 MB / 1.471 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/3.14, allocations: 0 / 1.471 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/3.14, allocations: 10.69 kB / 1.471 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/3.141, allocations: 131.8 kB / 1.471 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/3.141, allocations: 11.94 kB / 1.471 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/3.143, allocations: 121.3 kB / 1.471 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/3.143, allocations: 38.61 kB / 1.471 GB, free: 120.6 MB / 0.573 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 () * Number of clocked 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.0006187/3.144, allocations: 343.7 kB / 1.472 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/3.144, allocations: 90.88 kB / 1.472 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/3.146, allocations: 0.7604 MB / 1.473 GB, free: 119.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/3.146, allocations: 4 kB / 1.473 GB, free: 119.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/3.146, allocations: 0 / 1.473 GB, free: 119.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/3.146, allocations: 10.88 kB / 1.473 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/3.15, allocations: 1.613 MB / 1.474 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/3.15, allocations: 6.969 kB / 1.474 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/3.15, allocations: 95.77 kB / 1.474 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/3.15, allocations: 11.89 kB / 1.474 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/3.151, allocations: 12 kB / 1.474 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007025/3.151, allocations: 1.771 MB / 1.476 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/3.151, allocations: 0 / 1.476 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/3.154, allocations: 1.235 MB / 1.477 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/3.155, allocations: 243.6 kB / 1.478 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/3.155, allocations: 15.95 kB / 1.478 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/3.156, allocations: 70.27 kB / 1.478 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/3.156, allocations: 47.92 kB / 1.478 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/3.156, allocations: 24 kB / 1.478 GB, free: 114.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009654/3.157, allocations: 0.5549 MB / 1.478 GB, free: 113.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/3.157, allocations: 0 / 1.478 GB, free: 113.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002127/3.159, allocations: 0.4991 MB / 1.479 GB, free: 113 MB / 0.573 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) * Number of clocked states: 0 () * 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.001345/3.161, allocations: 489.3 kB / 1.479 GB, free: 112.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003711/3.164, allocations: 1.052 MB / 1.48 GB, free: 111.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/3.164, allocations: 3.969 kB / 1.48 GB, free: 111.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/3.165, allocations: 371.1 kB / 1.481 GB, free: 111.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/3.171, allocations: 368.4 kB / 1.481 GB, free: 110.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/3.177, allocations: 1.727 MB / 1.483 GB, free: 109.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/3.178, allocations: 1.021 MB / 1.484 GB, free: 108 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001375/3.179, allocations: 152.2 kB / 1.484 GB, free: 107.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/3.179, allocations: 67.41 kB / 1.484 GB, free: 107.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.974e-06/3.179, allocations: 0 / 1.484 GB, free: 107.8 MB / 0.573 GB Notification: Performance of Templates: time 0.05562/3.235, allocations: 17.19 MB / 1.501 GB, free: 91.05 MB / 0.573 GB