Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.314, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001532, allocations: 182.6 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.664/2.664, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 94.28 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007132/0.0007135, allocations: 12.38 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2292, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002368/0.2316, allocations: 1.615 MB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2331, allocations: 0.6986 MB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2332, allocations: 0 / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.2334, allocations: 79.75 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.2335, allocations: 83.8 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.2342, allocations: 133.4 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.2344, allocations: 151.7 kB / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.2346, allocations: 57.56 kB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2348, allocations: 87.66 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.235, allocations: 111.6 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.235, allocations: 4 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.2352, allocations: 71.92 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.2352, allocations: 47.77 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.2353, allocations: 57.58 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.2356, allocations: 223.8 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2356, allocations: 0 / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2356, allocations: 4 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2356, allocations: 0 / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009056/0.2366, allocations: 0.5351 MB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2366, allocations: 16.03 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.2367, allocations: 31.67 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.2373, allocations: 297.6 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.2373, allocations: 16 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.2374, allocations: 19.91 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.2379, allocations: 223.1 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2379, allocations: 0 / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2379, allocations: 4 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2379, allocations: 7.938 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.2383, allocations: 144.3 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.2393, allocations: 0.6809 MB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.2398, allocations: 178.5 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2399, allocations: 144 / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.2403, allocations: 173 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.306e-06/0.2403, allocations: 4 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0009628/0.2413, allocations: 470.5 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.2413, allocations: 140.5 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.2417, allocations: 274.7 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2417, allocations: 33.7 kB / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2418, allocations: 160.2 kB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2419, allocations: 39.44 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.2419, allocations: 8 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.242, allocations: 334.8 kB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.2423, allocations: 88.14 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.2425, allocations: 136.7 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.2428, allocations: 117.6 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2428, allocations: 4.031 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006966/0.2435, allocations: 339.6 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.2436, allocations: 39.97 kB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2436, allocations: 3.938 kB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2436, allocations: 0 / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2438, allocations: 36.02 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.2439, allocations: 4 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.2441, allocations: 23.83 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.2441, allocations: 11.94 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001894/0.2443, allocations: 193.5 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.2444, allocations: 31.72 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.2444, allocations: 25.83 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2445, allocations: 0 / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.2445, allocations: 4 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2445, allocations: 0 / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2448, allocations: 297.3 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2448, allocations: 0 / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.245, allocations: 23.91 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.245, allocations: 4 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.245, allocations: 4 kB / 0.9072 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.245, allocations: 4 kB / 0.9072 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.245, allocations: 4 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.246, allocations: 478.3 kB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2461, allocations: 100.8 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.2462, allocations: 8 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2464, allocations: 19.98 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2465, allocations: 27.95 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.2465, allocations: 4 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002504/0.2468, allocations: 201.9 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2468, allocations: 4.062 kB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003725/0.2472, allocations: 55.91 kB / 0.908 GB, free: 55.58 MB / 0.6042 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 (10): * Single equations (assignments): 9 * 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.0002199/0.2474, allocations: 129.9 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.2481, allocations: 303.4 kB / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2481, allocations: 0 / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.2484, allocations: 191.3 kB / 0.9086 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2488, allocations: 29.47 kB / 0.9087 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2501, allocations: 0.5185 MB / 0.9092 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.2503, allocations: 0.7597 MB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.2505, allocations: 21.53 kB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.2505, allocations: 15.44 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.2505, allocations: 0 / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.007624/0.2582, allocations: 2.449 MB / 0.9123 GB, free: 51.11 MB / 0.6042 GB