Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01025/0.01025, allocations: 222 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001181/0.001181, allocations: 182.4 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.553/3.553, allocations: 389 MB / 405.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.604/3.604, allocations: 472.3 MB / 0.9018 GB, free: 18.75 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 16 kB / 1.008 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1722, allocations: 98.72 MB / 1.104 GB, free: 10.69 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002304/0.1745, allocations: 1.56 MB / 1.106 GB, free: 9.117 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1758, allocations: 0.6541 MB / 1.106 GB, free: 8.457 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.1759, allocations: 0 / 1.106 GB, free: 8.457 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.176, allocations: 69.5 kB / 1.106 GB, free: 8.391 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1762, allocations: 81.55 kB / 1.106 GB, free: 8.312 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.1767, allocations: 113.4 kB / 1.106 GB, free: 8.203 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.177, allocations: 203.5 kB / 1.107 GB, free: 8.004 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1772, allocations: 49.66 kB / 1.107 GB, free: 7.961 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1773, allocations: 79.67 kB / 1.107 GB, free: 7.883 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1775, allocations: 117.2 kB / 1.107 GB, free: 7.77 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1776, allocations: 4 kB / 1.107 GB, free: 7.766 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1777, allocations: 63.94 kB / 1.107 GB, free: 7.703 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1778, allocations: 39.84 kB / 1.107 GB, free: 7.664 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.1779, allocations: 62.56 kB / 1.107 GB, free: 7.598 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.1782, allocations: 199.8 kB / 1.107 GB, free: 7.402 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.25e-06/0.1782, allocations: 0.6875 kB / 1.107 GB, free: 7.402 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.447e-06/0.1783, allocations: 0 / 1.107 GB, free: 7.402 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.1783, allocations: 4.688 kB / 1.107 GB, free: 7.398 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009011/0.1792, allocations: 0.5426 MB / 1.108 GB, free: 6.805 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1792, allocations: 8.75 kB / 1.108 GB, free: 6.797 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.1793, allocations: 28.31 kB / 1.108 GB, free: 6.77 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.1799, allocations: 292.5 kB / 1.108 GB, free: 6.445 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1799, allocations: 12.23 kB / 1.108 GB, free: 6.434 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.18, allocations: 15 kB / 1.108 GB, free: 6.422 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.1804, allocations: 201.5 kB / 1.108 GB, free: 6.211 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.714e-06/0.1805, allocations: 0 / 1.108 GB, free: 6.211 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1805, allocations: 8 kB / 1.108 GB, free: 6.203 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.623e-06/0.1805, allocations: 5.312 kB / 1.108 GB, free: 6.199 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.1808, allocations: 129.6 kB / 1.108 GB, free: 6.078 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.1818, allocations: 0.511 MB / 1.109 GB, free: 5.52 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.1823, allocations: 174.5 kB / 1.109 GB, free: 5.34 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.1826, allocations: 100.9 kB / 1.109 GB, free: 5.238 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1826, allocations: 8.031 kB / 1.109 GB, free: 5.23 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.183, allocations: 161 kB / 1.109 GB, free: 5.055 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 2.763e-06/0.183, allocations: 4 kB / 1.109 GB, free: 5.051 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0007917/0.1838, allocations: 330.8 kB / 1.11 GB, free: 4.715 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1839, allocations: 140.5 kB / 1.11 GB, free: 4.547 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1842, allocations: 258.6 kB / 1.11 GB, free: 4.289 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1843, allocations: 29.7 kB / 1.11 GB, free: 4.254 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1844, allocations: 148.3 kB / 1.11 GB, free: 4.105 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.1845, allocations: 43.44 kB / 1.11 GB, free: 4.062 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.1845, allocations: 4 kB / 1.11 GB, free: 4.059 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1847, allocations: 338.8 kB / 1.111 GB, free: 3.719 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1849, allocations: 87.91 kB / 1.111 GB, free: 3.633 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.1852, allocations: 115.9 kB / 1.111 GB, free: 3.508 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1854, allocations: 109.5 kB / 1.111 GB, free: 3.398 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.1855, allocations: 3.984 kB / 1.111 GB, free: 3.395 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005604/0.186, allocations: 267 kB / 1.111 GB, free: 3.121 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.1861, allocations: 41.72 kB / 1.111 GB, free: 3.074 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1861, allocations: 0 / 1.111 GB, free: 3.074 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1861, allocations: 4 kB / 1.111 GB, free: 3.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1863, allocations: 27.92 kB / 1.111 GB, free: 3.043 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.133e-06/0.1863, allocations: 0 / 1.111 GB, free: 3.043 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1865, allocations: 23.83 kB / 1.111 GB, free: 3.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1865, allocations: 8 kB / 1.111 GB, free: 3.012 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.1867, allocations: 187.5 kB / 1.111 GB, free: 2.812 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.1868, allocations: 27.67 kB / 1.111 GB, free: 2.785 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.468e-05/0.1869, allocations: 33.83 kB / 1.111 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-06/0.1869, allocations: 0 / 1.111 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.555e-06/0.1869, allocations: 0 / 1.111 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-06/0.1869, allocations: 0 / 1.111 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1873, allocations: 285.5 kB / 1.112 GB, free: 2.422 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-06/0.1873, allocations: 0 / 1.112 GB, free: 2.422 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.1874, allocations: 16 kB / 1.112 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.139e-06/0.1875, allocations: 3.953 kB / 1.112 GB, free: 2.402 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1875, allocations: 11.92 kB / 1.112 GB, free: 2.391 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-06/0.1875, allocations: 0 / 1.112 GB, free: 2.391 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-06/0.1875, allocations: 0 / 1.112 GB, free: 2.391 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.1884, allocations: 416.8 kB / 1.112 GB, free: 1.961 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.1885, allocations: 96.86 kB / 1.112 GB, free: 1.848 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.1886, allocations: 8 kB / 1.112 GB, free: 1.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1887, allocations: 15.98 kB / 1.112 GB, free: 1.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.1888, allocations: 23.95 kB / 1.112 GB, free: 1.801 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.1889, allocations: 16.05 kB / 1.112 GB, free: 1.785 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002385/0.1891, allocations: 197.9 kB / 1.113 GB, free: 1.598 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.91e-07/0.1891, allocations: 192 / 1.113 GB, free: 1.598 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003579/0.1895, allocations: 51.84 kB / 1.113 GB, free: 1.547 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002181/0.1897, allocations: 139.1 kB / 1.113 GB, free: 1.402 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.1903, allocations: 295.2 kB / 1.113 GB, free: 1.102 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.253e-06/0.1904, allocations: 4 kB / 1.113 GB, free: 1.098 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.1907, allocations: 179.4 kB / 1.113 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1911, allocations: 36.56 kB / 1.113 GB, free: 0.875 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1922, allocations: 0.4987 MB / 1.114 GB, free: 360 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.1927, allocations: 0.7519 MB / 1.114 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.1928, allocations: 21.42 kB / 1.114 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.1929, allocations: 19.44 kB / 1.114 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of SimCode: time 1.206e-06/0.1929, allocations: 0 / 1.114 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of Templates: time 0.007387/0.2003, allocations: 2.253 MB / 1.117 GB, free: 13.29 MB / 0.5886 GB