Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.583/4.584, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00247/0.002469, allocations: 361.4 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.903/3.903, allocations: 410.7 MB / 1.112 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 186.9 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.00049, allocations: 8 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5964, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003726/0.6002, allocations: 1.617 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.6024, allocations: 0.6916 MB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.6027, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.6029, allocations: 68.67 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.6033, allocations: 83.12 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.6043, allocations: 134.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.6048, allocations: 212.2 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.6051, allocations: 62.77 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.6053, allocations: 81.05 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.6057, allocations: 119.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.6057, allocations: 8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.606, allocations: 65.38 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.6062, allocations: 43.78 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.6063, allocations: 65.56 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.6068, allocations: 216.1 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.234e-06/0.6068, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.945e-06/0.6068, allocations: 2.875 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.841e-06/0.6069, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 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.0014/0.6083, allocations: 0.5502 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.6084, allocations: 11.62 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.6085, allocations: 35.58 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.6095, allocations: 300.3 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.6096, allocations: 12 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.6097, allocations: 12 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.6106, allocations: 229.5 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6106, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.6107, allocations: 4.75 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.6107, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.6114, allocations: 134.5 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.6132, allocations: 0.6897 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.6141, allocations: 181.4 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.6146, allocations: 102.3 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.6146, allocations: 0.875 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000644/0.6153, allocations: 179.6 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 4.61e-06/0.6153, allocations: 1.781 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.001629/0.617, allocations: 389.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.6171, allocations: 132.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.6177, allocations: 282.7 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.6178, allocations: 25.7 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.618, allocations: 169.7 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.6181, allocations: 39.45 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.6182, allocations: 4 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6183, allocations: 339.5 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.6188, allocations: 81.38 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.6193, allocations: 146.6 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.6196, allocations: 112.9 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-06/0.6196, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005737/0.6202, allocations: 340.6 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.6202, allocations: 46.44 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.337e-06/0.6203, allocations: 0 / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6203, allocations: 4.656 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.6204, allocations: 33.7 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.931e-06/0.6205, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.6206, allocations: 27.83 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.6207, allocations: 8.562 kB / 1.469 GB, free: 276.1 MB / 0.8542 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.0001682/0.6208, allocations: 197.8 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.6209, allocations: 23.72 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.621, allocations: 30.86 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.621, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.849e-06/0.621, allocations: 2.312 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-06/0.621, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.6212, allocations: 293.4 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-06/0.6213, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6214, allocations: 19.98 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6214, allocations: 0.8438 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.6214, allocations: 4 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.588e-06/0.6215, allocations: 1.156 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-06/0.6215, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.6223, allocations: 485.4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.6223, allocations: 102.6 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.6224, allocations: 18.67 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.6226, allocations: 11.98 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.6227, allocations: 28.77 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.6227, allocations: 8.516 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001848/0.6229, allocations: 203.3 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.18e-07/0.6229, allocations: 0 / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003522/0.6233, allocations: 56.11 kB / 1.47 GB, free: 274.5 MB / 0.8542 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.0001965/0.6235, allocations: 130.8 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.624, allocations: 305.1 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.557e-06/0.624, allocations: 1.062 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.6243, allocations: 188.5 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.6247, allocations: 36.58 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6257, allocations: 0.5277 MB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.6259, allocations: 0.758 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000109/0.626, allocations: 15.89 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.6261, allocations: 19.44 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.362e-06/0.6261, allocations: 1.406 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.006699/0.6328, allocations: 2.438 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB