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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.229/2.229, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001305/0.001304, allocations: 178.3 kB / 325.8 MB, free: 2.785 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.734/2.734, allocations: 205.4 MB / 0.5767 GB, free: 20.78 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.000878/0.0008777, allocations: 86.38 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 12.06 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003544/0.296, allocations: 1.619 MB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2981, allocations: 0.7103 MB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2984, allocations: 4 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.2987, allocations: 71.75 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.2989, allocations: 79.7 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.2999, allocations: 133.9 kB / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.3003, allocations: 219.5 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3006, allocations: 65.55 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3009, allocations: 91.67 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.3011, allocations: 119.5 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.3012, allocations: 8 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.3014, allocations: 71.92 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.3016, allocations: 39.84 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.3017, allocations: 65.52 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.3021, allocations: 215.8 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3021, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3022, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.3022, allocations: 0 / 0.9024 GB, free: 61.89 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.001297/0.3035, allocations: 0.5547 MB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3036, allocations: 8.031 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.3037, allocations: 32.66 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008093/0.3045, allocations: 295.1 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.3046, allocations: 16.38 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.3047, allocations: 16.28 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.3054, allocations: 231.2 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3055, allocations: 0 / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.3055, allocations: 8 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3056, allocations: 4 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.3061, allocations: 136.4 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.3076, allocations: 0.6808 MB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.3084, allocations: 186.4 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.3088, allocations: 107.9 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3089, allocations: 0 / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.3095, allocations: 181 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.326e-06/0.3095, allocations: 0 / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001358/0.3109, allocations: 391.6 kB / 0.9052 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.311, allocations: 132.5 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.3115, allocations: 278.7 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.3115, allocations: 29.7 kB / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3117, allocations: 160.2 kB / 0.9058 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.3118, allocations: 43.44 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.3119, allocations: 4 kB / 0.9058 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.312, allocations: 334.8 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.3124, allocations: 99.83 kB / 0.9062 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.3128, allocations: 138.3 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.3132, allocations: 113.6 kB / 0.9065 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3133, allocations: 3.984 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001065/0.3143, allocations: 336.9 kB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.3144, allocations: 37.69 kB / 0.9068 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3145, allocations: 4.094 kB / 0.9068 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.3145, allocations: 4 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3148, allocations: 31.92 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3148, allocations: 0 / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3152, allocations: 27.83 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.3152, allocations: 8 kB / 0.9069 GB, free: 57.03 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.0003543/0.3156, allocations: 197.5 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.3157, allocations: 23.72 kB / 0.9071 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3158, allocations: 29.83 kB / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3159, allocations: 0 / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3159, allocations: 0 / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3159, allocations: 0 / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.3164, allocations: 297.3 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3164, allocations: 0 / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.3167, allocations: 27.92 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.3167, allocations: 4 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.3168, allocations: 4 kB / 0.9074 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3168, allocations: 0 / 0.9074 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3168, allocations: 0 / 0.9074 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3184, allocations: 480.9 kB / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3186, allocations: 104.9 kB / 0.908 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.3187, allocations: 11.94 kB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.319, allocations: 15.98 kB / 0.908 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.3192, allocations: 23.95 kB / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.3192, allocations: 7.938 kB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000353/0.3196, allocations: 210 kB / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.72e-07/0.3196, allocations: 0 / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005983/0.3202, allocations: 60.03 kB / 0.9083 GB, free: 55.46 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.0003025/0.3206, allocations: 127.2 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009435/0.3215, allocations: 303.2 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3216, allocations: 0 / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.322, allocations: 187.3 kB / 0.9089 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.3227, allocations: 32.55 kB / 0.9089 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3247, allocations: 0.5149 MB / 0.9094 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.325, allocations: 0.7517 MB / 0.9102 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.3252, allocations: 17.55 kB / 0.9102 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.3253, allocations: 19.42 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.442e-06/0.3253, allocations: 0 / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.01154/0.3369, allocations: 2.468 MB / 0.9126 GB, free: 50.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)