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.00906/0.00906, allocations: 110.2 kB / 15.05 MB, free: 5.98 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.001105/0.001105, allocations: 184 kB / 15.94 MB, free: 5.941 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.839/1.839, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.168/2.168, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004997, allocations: 12 kB / 0.5869 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5759, allocations: 98.7 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.7607, allocations: 127.3 MB / 0.8076 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.761, allocations: 87.94 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03524/0.7963, allocations: 5.608 MB / 0.8132 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.752e-06/0.7963, allocations: 0 / 0.8132 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.913e-05/0.7964, allocations: 11.88 kB / 0.8132 GB, free: 9.145 MB / 0.6355 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.001719/0.7981, allocations: 0.5744 MB / 0.8138 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.7982, allocations: 8.031 kB / 0.8138 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.7984, allocations: 31.67 kB / 0.8138 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.7993, allocations: 285.7 kB / 0.8141 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.7994, allocations: 12.23 kB / 0.8141 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.7995, allocations: 12 kB / 0.8141 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.8005, allocations: 241.5 kB / 0.8143 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.8006, allocations: 0 / 0.8143 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.8006, allocations: 4 kB / 0.8143 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.8007, allocations: 4 kB / 0.8143 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.8014, allocations: 156.3 kB / 0.8145 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.8034, allocations: 0.5632 MB / 0.815 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.8045, allocations: 210.6 kB / 0.8152 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.8046, allocations: 4.031 kB / 0.8152 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007186/0.8053, allocations: 197 kB / 0.8154 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 4.657e-06/0.8054, allocations: 4 kB / 0.8154 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.002104/0.8075, allocations: 491.9 kB / 0.8159 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.8076, allocations: 136.5 kB / 0.816 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.8083, allocations: 237.8 kB / 0.8163 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.8084, allocations: 29.7 kB / 0.8163 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.8089, allocations: 152.3 kB / 0.8164 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.809, allocations: 35.45 kB / 0.8165 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.8091, allocations: 8 kB / 0.8165 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0004313/0.8096, allocations: 334.8 kB / 0.8168 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.8105, allocations: 111.9 kB / 0.8169 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/0.8114, allocations: 139.4 kB / 0.817 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/0.8123, allocations: 137.3 kB / 0.8172 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.85e-06/0.8124, allocations: 4.031 kB / 0.8172 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002357/0.8148, allocations: 322.9 kB / 0.8175 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.8149, allocations: 33.7 kB / 0.8175 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.815, allocations: 0 / 0.8175 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.815, allocations: 4.031 kB / 0.8175 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.8155, allocations: 31.92 kB / 0.8175 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.8155, allocations: 3.953 kB / 0.8175 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.8161, allocations: 35.88 kB / 0.8176 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.8162, allocations: 20 kB / 0.8176 GB, free: 4.34 MB / 0.6355 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.0006212/0.8169, allocations: 182 kB / 0.8178 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.817, allocations: 23.72 kB / 0.8178 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.8172, allocations: 33.83 kB / 0.8178 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.697e-06/0.8173, allocations: 0 / 0.8178 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.8173, allocations: 0 / 0.8178 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.8173, allocations: 7.891 kB / 0.8178 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.8182, allocations: 297.4 kB / 0.8181 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.897e-06/0.8183, allocations: 4 kB / 0.8181 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.8187, allocations: 24.09 kB / 0.8181 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.8188, allocations: 7.922 kB / 0.8182 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.8189, allocations: 11.94 kB / 0.8182 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.8189, allocations: 0 / 0.8182 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.043e-06/0.8189, allocations: 0 / 0.8182 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.8212, allocations: 0.4941 MB / 0.8186 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.8213, allocations: 104.9 kB / 0.8187 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.8214, allocations: 8 kB / 0.8188 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.8216, allocations: 31.97 kB / 0.8188 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8217, allocations: 27.95 kB / 0.8188 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.8218, allocations: 8 kB / 0.8188 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002607/0.8221, allocations: 197.9 kB / 0.819 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.8221, allocations: 4 kB / 0.819 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000415/0.8225, allocations: 60.06 kB / 0.8191 GB, free: 2.73 MB / 0.6355 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 (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 (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.0002611/0.8228, allocations: 136.4 kB / 0.8192 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007261/0.8235, allocations: 315.2 kB / 0.8195 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.363e-06/0.8236, allocations: 0 / 0.8195 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.8239, allocations: 187.4 kB / 0.8197 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.8243, allocations: 35 kB / 0.8197 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8255, allocations: 0.5103 MB / 0.8202 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.826, allocations: 0.7552 MB / 0.8209 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000106/0.8261, allocations: 17.08 kB / 0.821 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.8262, allocations: 15.44 kB / 0.821 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of SimCode: time 1.429e-06/0.8262, allocations: 0 / 0.821 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of Templates: time 0.007792/0.834, allocations: 2.31 MB / 0.8232 GB, free: 14.39 MB / 0.6511 GB