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.01246/0.01247, allocations: 222 kB / 15.17 MB, free: 6 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.001163/0.001164, allocations: 178.2 kB / 16.06 MB, free: 5.871 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.721/3.721, allocations: 389.1 MB / 405.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.433/4.433, allocations: 472.3 MB / 0.9017 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005047, allocations: 16 kB / 1.008 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6794, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002572/0.682, allocations: 1.563 MB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.6835, allocations: 0.6508 MB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.6836, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.6838, allocations: 68.77 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.684, allocations: 77.53 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.6846, allocations: 110.8 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.6849, allocations: 207.7 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.685, allocations: 63.23 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.6852, allocations: 80.55 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.6854, allocations: 114 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.6854, allocations: 5.438 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.6856, allocations: 64.33 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.6857, allocations: 41.3 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.6858, allocations: 56.42 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.6861, allocations: 206.4 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6861, allocations: 4.75 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.015e-06/0.6862, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6862, allocations: 5.25 kB / 1.107 GB, free: 211.1 MB / 0.7292 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.000978/0.6872, allocations: 0.5342 MB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6872, allocations: 16.47 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.6873, allocations: 44.5 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.6874, allocations: 33.48 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.6879, allocations: 288.7 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.688, allocations: 13.42 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.688, allocations: 12.03 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.6886, allocations: 197.4 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6886, allocations: 0 / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.6886, allocations: 10.25 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6887, allocations: 6.609 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.689, allocations: 117.4 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.69, allocations: 0.5133 MB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.6906, allocations: 174.3 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.6909, allocations: 96.67 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.6909, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.6913, allocations: 169.5 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/0.6914, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0009108/0.6923, allocations: 326.6 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.6924, allocations: 141.3 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.6928, allocations: 260.4 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.6928, allocations: 35.06 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.6929, allocations: 139.7 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.693, allocations: 49.92 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.693, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.6931, allocations: 340 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.6934, allocations: 80.08 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.6937, allocations: 117.9 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.6939, allocations: 108.7 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6939, allocations: 0 / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006341/0.6946, allocations: 271.3 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.6947, allocations: 45.98 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6947, allocations: 1.312 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6947, allocations: 1.188 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6949, allocations: 26.44 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6949, allocations: 5.312 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.6951, allocations: 23.38 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.6952, allocations: 5.375 kB / 1.111 GB, free: 208.3 MB / 0.7292 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.0002116/0.6954, allocations: 195.1 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.6955, allocations: 24.94 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.6955, allocations: 33.3 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6956, allocations: 0.9688 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6956, allocations: 3.188 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6956, allocations: 1 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.6959, allocations: 286.1 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6959, allocations: 0 / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.6961, allocations: 19.19 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6961, allocations: 1.188 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.6961, allocations: 5.328 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.6961, allocations: 3.953 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6962, allocations: 5.156 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/0.6971, allocations: 415.7 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.6972, allocations: 103.1 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.6973, allocations: 15.41 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.6975, allocations: 13.39 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6976, allocations: 25.53 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.6976, allocations: 5.391 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002485/0.6979, allocations: 197.3 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.994e-06/0.6979, allocations: 4.719 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003867/0.6983, allocations: 51.53 kB / 1.113 GB, free: 207.4 MB / 0.7292 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.00125/0.6995, allocations: 0.98 MB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006797/0.7002, allocations: 291.6 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7003, allocations: 0 / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.7006, allocations: 193.8 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.7011, allocations: 32.84 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.7046, allocations: 1.561 MB / 1.116 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.7049, allocations: 0.7558 MB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.7051, allocations: 16.52 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.7052, allocations: 65.5 kB / 1.117 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.7052, allocations: 0 / 1.117 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.7361, allocations: 4.577 MB / 1.121 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/0.7364, allocations: 192.8 kB / 1.121 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.346, allocations: 0 / 1.121 GB, free: 204.6 MB / 0.7292 GB