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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01125/0.01126, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001215/0.001215, allocations: 179.2 kB / 15.95 MB, free: 5.957 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 2.058/2.058, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.502/2.502, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006659/0.0006662, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6572, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002639/0.6599, allocations: 1.549 MB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.6615, allocations: 0.6505 MB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.6617, allocations: 9.312 kB / 0.6856 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.6619, allocations: 67.94 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.6622, allocations: 83.14 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.6629, allocations: 116.3 kB / 0.6858 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.6633, allocations: 136 kB / 0.686 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.6635, allocations: 50.48 kB / 0.686 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.6637, allocations: 86.62 kB / 0.6861 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.6639, allocations: 103.4 kB / 0.6862 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.664, allocations: 5.156 kB / 0.6862 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.6642, allocations: 64.72 kB / 0.6863 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.6643, allocations: 45.22 kB / 0.6863 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.6644, allocations: 57.34 kB / 0.6864 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.6648, allocations: 202 kB / 0.6866 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6648, allocations: 0 / 0.6866 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6648, allocations: 4 kB / 0.6866 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6648, allocations: 0 / 0.6866 GB, free: 14.85 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.001059/0.6659, allocations: 0.5378 MB / 0.6871 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6659, allocations: 8.625 kB / 0.6871 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.63e-05/0.666, allocations: 47.22 kB / 0.6871 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.6661, allocations: 37.64 kB / 0.6872 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.6667, allocations: 287.3 kB / 0.6875 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.6668, allocations: 15.36 kB / 0.6875 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.6669, allocations: 16.77 kB / 0.6875 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.6674, allocations: 198.1 kB / 0.6877 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6674, allocations: 0 / 0.6877 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.6675, allocations: 2.688 kB / 0.6877 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.6675, allocations: 6.859 kB / 0.6877 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.6679, allocations: 126.4 kB / 0.6878 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.669, allocations: 0.5102 MB / 0.6883 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.6697, allocations: 177.5 kB / 0.6885 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.6697, allocations: 1.188 kB / 0.6885 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.6702, allocations: 163.1 kB / 0.6886 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.6702, allocations: 3.938 kB / 0.6886 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.00103/0.6712, allocations: 409.5 kB / 0.689 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.6713, allocations: 133.4 kB / 0.6891 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.6717, allocations: 261.5 kB / 0.6894 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.6718, allocations: 33.31 kB / 0.6894 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6719, allocations: 149.1 kB / 0.6896 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.672, allocations: 50.2 kB / 0.6896 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.672, allocations: 5.188 kB / 0.6896 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.6721, allocations: 332.4 kB / 0.6899 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.6724, allocations: 80.36 kB / 0.69 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.6727, allocations: 119.5 kB / 0.6901 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.673, allocations: 112.3 kB / 0.6902 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.673, allocations: 0 / 0.6902 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000724/0.6737, allocations: 273.6 kB / 0.6905 GB, free: 12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.6738, allocations: 39.75 kB / 0.6905 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6738, allocations: 5.203 kB / 0.6905 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6739, allocations: 1.859 kB / 0.6905 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.6741, allocations: 19.06 kB / 0.6906 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.6741, allocations: 1.797 kB / 0.6906 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.6743, allocations: 21.41 kB / 0.6906 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.6744, allocations: 12.78 kB / 0.6906 GB, free: 11.95 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.0002619/0.6746, allocations: 192.2 kB / 0.6908 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.6747, allocations: 25.28 kB / 0.6908 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.6748, allocations: 26.05 kB / 0.6908 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6748, allocations: 5.078 kB / 0.6908 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.6748, allocations: 1.094 kB / 0.6908 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6748, allocations: 0.6562 kB / 0.6908 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.6752, allocations: 285.9 kB / 0.6911 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.6752, allocations: 4.797 kB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.6754, allocations: 15.44 kB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.6754, allocations: 1.828 kB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.6755, allocations: 3.328 kB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.6755, allocations: 2.172 kB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.6755, allocations: 3.953 kB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.6766, allocations: 420.2 kB / 0.6915 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.6767, allocations: 99.75 kB / 0.6916 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.6767, allocations: 12.72 kB / 0.6916 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.6769, allocations: 32.25 kB / 0.6917 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6771, allocations: 24.17 kB / 0.6917 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.6771, allocations: 6.219 kB / 0.6917 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002937/0.6774, allocations: 193.2 kB / 0.6919 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6775, allocations: 0 / 0.6919 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004322/0.6779, allocations: 52.92 kB / 0.6919 GB, free: 11.05 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.001401/0.6793, allocations: 0.9753 MB / 0.6929 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007601/0.6801, allocations: 291.5 kB / 0.6932 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6801, allocations: 0.9375 kB / 0.6932 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.6805, allocations: 191 kB / 0.6934 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.6809, allocations: 29.86 kB / 0.6934 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.6849, allocations: 1.694 MB / 0.695 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6852, allocations: 0.7571 MB / 0.6958 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.6854, allocations: 20.88 kB / 0.6958 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.6856, allocations: 65.47 kB / 0.6959 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/0.6856, allocations: 1.531 kB / 0.6959 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.7161, allocations: 4.551 MB / 0.7003 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.7164, allocations: 180.1 kB / 0.7005 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.402, allocations: 5.312 kB / 0.7005 GB, free: 6.742 MB / 0.5261 GB