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.001436/0.001441, allocations: 186.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7316/0.7316, allocations: 82.93 MB / 99.42 MB, free: 3.168 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.4 MB / 325.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001026, allocations: 94.91 kB / 393.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004509, allocations: 15.98 kB / 471.5 MB, free: 66.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.08992, allocations: 67.46 MB / 0.5264 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.03707/0.127, allocations: 19.82 MB / 0.5457 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.1446, allocations: 8.612 MB / 0.5541 GB, free: 2.586 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1459, allocations: 31.69 kB / 0.5542 GB, free: 2.555 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1479, allocations: 0.5212 MB / 0.5547 GB, free: 2.031 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.1523, allocations: 1.093 MB / 0.5557 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009136/0.1614, allocations: 2.482 MB / 0.5582 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002761/0.1642, allocations: 1.211 MB / 0.5593 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.1655, allocations: 0.5806 MB / 0.5599 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.1671, allocations: 0.6462 MB / 0.5605 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009509/0.1681, allocations: 0.5018 MB / 0.561 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1683, allocations: 32 kB / 0.5611 GB, free: 11.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.1706, allocations: 0.8971 MB / 0.5619 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.1709, allocations: 167.2 kB / 0.5621 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.1713, allocations: 201.1 kB / 0.5623 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1734, allocations: 1.021 MB / 0.5633 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.561e-06/0.1734, allocations: 0 / 0.5633 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.1734, allocations: 0 / 0.5633 GB, free: 9.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1734, allocations: 4 kB / 0.5633 GB, free: 9.199 MB / 410.7 MB 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.002538/0.176, allocations: 1.239 MB / 0.5645 GB, free: 7.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.176, allocations: 12.03 kB / 0.5645 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.1763, allocations: 110.7 kB / 0.5646 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.1778, allocations: 0.6406 MB / 0.5652 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.1779, allocations: 49.31 kB / 0.5653 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.178, allocations: 67.95 kB / 0.5654 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.1796, allocations: 0.6585 MB / 0.566 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1796, allocations: 0 / 0.566 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.1797, allocations: 28 kB / 0.566 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1797, allocations: 12 kB / 0.566 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1809, allocations: 464.9 kB / 0.5665 GB, free: 5.793 MB / 410.7 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.005774/0.1867, allocations: 2.522 MB / 0.5689 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1878, allocations: 371.3 kB / 0.5693 GB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.1882, allocations: 340.4 kB / 0.5696 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000791/0.189, allocations: 329.1 kB / 0.5699 GB, free: 2.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 6.31e-06/0.189, allocations: 3.984 kB / 0.5699 GB, free: 2 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.002026/0.1911, allocations: 0.7847 MB / 0.5707 GB, free: 1.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.1913, allocations: 235.3 kB / 0.5709 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.1927, allocations: 0.8361 MB / 0.5717 GB, free: 44 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.1929, allocations: 37.7 kB / 0.5718 GB, free: 0 / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.1934, allocations: 444.3 kB / 0.5722 GB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1936, allocations: 114.4 kB / 0.5723 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1937, allocations: 8 kB / 0.5723 GB, free: 15.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1939, allocations: 330 kB / 0.5726 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.1945, allocations: 201.7 kB / 0.5728 GB, free: 14.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.1952, allocations: 359.7 kB / 0.5732 GB, free: 14.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.1959, allocations: 255.7 kB / 0.5734 GB, free: 14.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-06/0.1959, allocations: 0 / 0.5734 GB, free: 14.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002367/0.1983, allocations: 0.733 MB / 0.5741 GB, free: 13.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008227/0.1992, allocations: 1.09 MB / 0.5752 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.1992, allocations: 4 kB / 0.5752 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.1993, allocations: 4 kB / 0.5752 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.2017, allocations: 179.7 kB / 0.5754 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.2037, allocations: 1.774 MB / 0.5771 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.2055, allocations: 119.5 kB / 0.5772 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.2057, allocations: 31.98 kB / 0.5772 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2058, allocations: 4 kB / 0.5773 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002664/0.2085, allocations: 0.635 MB / 0.5779 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2085, allocations: 7.938 kB / 0.5779 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.2086, allocations: 4 kB / 0.5779 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.2098, allocations: 131.8 kB / 0.578 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.2099, allocations: 7.938 kB / 0.578 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.2114, allocations: 99.56 kB / 0.5781 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.2116, allocations: 31.94 kB / 0.5781 GB, free: 9.215 MB / 426.7 MB 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.0009917/0.2126, allocations: 350.1 kB / 0.5785 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.213, allocations: 94.88 kB / 0.5786 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.2161, allocations: 0.6674 MB / 0.5792 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/0.2162, allocations: 7.984 kB / 0.5792 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.727e-06/0.2162, allocations: 4 kB / 0.5792 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.2163, allocations: 4 kB / 0.5792 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/0.2217, allocations: 1.519 MB / 0.5807 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.2218, allocations: 7.938 kB / 0.5807 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.2229, allocations: 95.88 kB / 0.5808 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/0.2229, allocations: 4 kB / 0.5808 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/0.223, allocations: 15.94 kB / 0.5808 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.2249, allocations: 1.774 MB / 0.5826 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.225, allocations: 0 / 0.5826 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.2291, allocations: 1.171 MB / 0.5837 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/0.23, allocations: 223.9 kB / 0.5839 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/0.2304, allocations: 12 kB / 0.5839 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.232, allocations: 56 kB / 0.584 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.2323, allocations: 47.89 kB / 0.584 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.2324, allocations: 15.98 kB / 0.5841 GB, free: 2.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001786/0.2342, allocations: 0.5667 MB / 0.5846 GB, free: 2.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.587e-06/0.2342, allocations: 0 / 0.5846 GB, free: 2.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003202/0.2375, allocations: 459.1 kB / 0.585 GB, free: 1.898 MB / 426.7 MB 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.001488/0.239, allocations: 331.1 kB / 0.5854 GB, free: 1.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005422/0.2444, allocations: 1.032 MB / 0.5864 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.2445, allocations: 0 / 0.5864 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.2462, allocations: 359.6 kB / 0.5867 GB, free: 168 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3647/0.6109, allocations: 366.2 kB / 0.5871 GB, free: 63.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.6172, allocations: 1.695 MB / 0.5887 GB, free: 62.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.6183, allocations: 1.024 MB / 0.5897 GB, free: 61.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001517/0.6199, allocations: 153.8 kB / 0.5899 GB, free: 61.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.6203, allocations: 69.25 kB / 0.5899 GB, free: 61.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.759e-06/0.6203, allocations: 0 / 0.5899 GB, free: 61.82 MB / 426.7 MB Notification: Performance of Templates: time 0.04628/0.6666, allocations: 15.53 MB / 0.6051 GB, free: 57.55 MB / 426.7 MB