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.009952/0.009952, allocations: 107.4 kB / 15.06 MB, free: 5.562 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.005869/0.005869, allocations: 181.6 kB / 15.95 MB, free: 5.523 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 1.961/1.961, allocations: 194.6 MB / 211.3 MB, free: 11.28 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.273/2.273, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 12 kB / 0.5869 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5485, allocations: 98.71 MB / 0.6833 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002106/0.5506, allocations: 1.554 MB / 0.6848 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.5519, allocations: 0.6498 MB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.5521, allocations: 6.594 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.5522, allocations: 67.56 kB / 0.6856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.5524, allocations: 90.86 kB / 0.6856 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.553, allocations: 111.8 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.5532, allocations: 133.2 kB / 0.6859 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.5534, allocations: 58.5 kB / 0.6859 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.5536, allocations: 82.34 kB / 0.686 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.5538, allocations: 106.8 kB / 0.6861 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.5538, allocations: 6.219 kB / 0.6861 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.554, allocations: 64.81 kB / 0.6862 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.554, allocations: 40.67 kB / 0.6862 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.5541, allocations: 61.88 kB / 0.6863 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.5544, allocations: 208.2 kB / 0.6865 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.588e-06/0.5544, allocations: 0 / 0.6865 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.888e-06/0.5545, allocations: 1.5 kB / 0.6865 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.634e-06/0.5545, allocations: 0 / 0.6865 GB, free: 14.77 MB / 0.5261 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.0007384/0.5552, allocations: 0.534 MB / 0.687 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.5553, allocations: 8.594 kB / 0.687 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.5553, allocations: 33.95 kB / 0.687 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.5558, allocations: 286.4 kB / 0.6873 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.5558, allocations: 14.3 kB / 0.6873 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.5559, allocations: 9.156 kB / 0.6873 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.5563, allocations: 200.4 kB / 0.6875 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5564, allocations: 0 / 0.6875 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.5564, allocations: 9.125 kB / 0.6875 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.005e-06/0.5564, allocations: 3.375 kB / 0.6875 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.5568, allocations: 126.9 kB / 0.6877 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.5577, allocations: 0.5134 MB / 0.6882 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.5582, allocations: 179.2 kB / 0.6883 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5582, allocations: 1.344 kB / 0.6883 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.5586, allocations: 163.6 kB / 0.6885 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.65e-06/0.5586, allocations: 4 kB / 0.6885 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0008302/0.5594, allocations: 404.4 kB / 0.6889 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.5595, allocations: 138 kB / 0.689 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.5599, allocations: 261.7 kB / 0.6893 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.5599, allocations: 36.83 kB / 0.6893 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.56, allocations: 144.5 kB / 0.6894 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.5601, allocations: 46.14 kB / 0.6895 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.5601, allocations: 1.156 kB / 0.6895 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.5602, allocations: 336.5 kB / 0.6898 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.5604, allocations: 80.81 kB / 0.6899 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.5607, allocations: 118.2 kB / 0.69 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.5609, allocations: 112.6 kB / 0.6901 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.091e-06/0.5609, allocations: 0 / 0.6901 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005749/0.5615, allocations: 268.6 kB / 0.6904 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.5616, allocations: 40.2 kB / 0.6904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.762e-06/0.5616, allocations: 1.344 kB / 0.6904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5616, allocations: 5.172 kB / 0.6904 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.5618, allocations: 19.14 kB / 0.6904 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.83e-06/0.5618, allocations: 2.109 kB / 0.6904 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.562, allocations: 24.77 kB / 0.6904 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.562, allocations: 5.438 kB / 0.6904 GB, free: 11.93 MB / 0.5261 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.0002119/0.5622, allocations: 192.4 kB / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.5623, allocations: 28.94 kB / 0.6907 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.5624, allocations: 29.45 kB / 0.6907 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5624, allocations: 6.75 kB / 0.6907 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.967e-06/0.5624, allocations: 4 kB / 0.6907 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5624, allocations: 0.7969 kB / 0.6907 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.5627, allocations: 281.9 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-06/0.5627, allocations: 0.7969 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.5629, allocations: 14.92 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5629, allocations: 1.406 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.5629, allocations: 3.859 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.812e-06/0.5629, allocations: 1.906 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-06/0.5629, allocations: 4.469 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.5638, allocations: 422.9 kB / 0.6914 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.5639, allocations: 95.67 kB / 0.6915 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.564, allocations: 17.2 kB / 0.6915 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5641, allocations: 23.11 kB / 0.6915 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5642, allocations: 26.19 kB / 0.6915 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.5643, allocations: 9.125 kB / 0.6916 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002407/0.5645, allocations: 194.2 kB / 0.6917 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.18e-07/0.5646, allocations: 0 / 0.6917 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004087/0.565, allocations: 56.5 kB / 0.6918 GB, free: 11.02 MB / 0.5261 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.0002182/0.5652, allocations: 142.2 kB / 0.6919 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006066/0.5658, allocations: 287.3 kB / 0.6922 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5658, allocations: 1.031 kB / 0.6922 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.5662, allocations: 194.8 kB / 0.6924 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.5665, allocations: 28.34 kB / 0.6924 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.5677, allocations: 499.3 kB / 0.6929 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.568, allocations: 0.7565 MB / 0.6936 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.5681, allocations: 20.44 kB / 0.6937 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.5682, allocations: 16.17 kB / 0.6937 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of SimCode: time 2.209e-06/0.5682, allocations: 1 kB / 0.6937 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of Templates: time 0.008003/0.5762, allocations: 2.251 MB / 0.6959 GB, free: 9.457 MB / 0.5261 GB