Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009524/0.0009525, allocations: 174.5 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007514, allocations: 88.55 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003058, allocations: 8.688 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2045, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001869/0.2064, allocations: 1.682 MB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2075, allocations: 0.7797 MB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.2076, allocations: 8 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2078, allocations: 67.77 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.2079, allocations: 87.69 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.2083, allocations: 165.6 kB / 0.8995 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.2085, allocations: 235.4 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2087, allocations: 61.89 kB / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.2088, allocations: 91.61 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2089, allocations: 131.5 kB / 0.9 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.2089, allocations: 8 kB / 0.9 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.209, allocations: 79.91 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.2091, allocations: 39.78 kB / 0.9001 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.2092, allocations: 95.34 kB / 0.9002 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2094, allocations: 279 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2094, allocations: 0 / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2094, allocations: 3.938 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2094, allocations: 0 / 0.9004 GB, free: 64.39 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.0006331/0.2101, allocations: 0.543 MB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2101, allocations: 8.031 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.2102, allocations: 28.66 kB / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2105, allocations: 310.8 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2105, allocations: 20.38 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.2106, allocations: 12.38 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.2109, allocations: 227.2 kB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2109, allocations: 8 kB / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2109, allocations: 4 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2109, allocations: 4 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.2111, allocations: 136.3 kB / 0.9017 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.2118, allocations: 0.6809 MB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.2121, allocations: 182.5 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.2122, allocations: 100.8 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2123, allocations: 7.984 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.2125, allocations: 169 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2125, allocations: 0 / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005348/0.213, allocations: 396 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2131, allocations: 136.5 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.2133, allocations: 274.7 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2133, allocations: 33.7 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2134, allocations: 156.2 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.2134, allocations: 47.39 kB / 0.9038 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.2135, allocations: 25.72 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.2135, allocations: 338.8 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2137, allocations: 87.95 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2138, allocations: 145 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.2141, allocations: 245.1 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2141, allocations: 4.125 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003693/0.2144, allocations: 342.9 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.2145, allocations: 40.66 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2145, allocations: 0 / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2145, allocations: 4 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2146, allocations: 32.08 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2146, allocations: 3.938 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2148, allocations: 27.83 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2148, allocations: 4 kB / 0.905 GB, free: 59.34 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2149, allocations: 196.9 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.2149, allocations: 31.62 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.215, allocations: 25.83 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.215, allocations: 4 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.215, allocations: 0 / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.215, allocations: 108.7 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.2151, allocations: 4 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2152, allocations: 23.92 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.2153, allocations: 23.97 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006152/0.2159, allocations: 0.5064 MB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005619/0.2165, allocations: 0.6191 MB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001489/0.2166, allocations: 124 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001266/0.2168, allocations: 205.9 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of Backend: time 4.71e-07/0.2168, allocations: 8 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.2173, allocations: 307.9 kB / 0.9071 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007115/0.218, allocations: 0.9854 MB / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.004948/0.223, allocations: 2.697 MB / 0.9107 GB, free: 53.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)