Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001319/0.001319, allocations: 178.5 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.617/2.617, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008745/0.000874, allocations: 99.89 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004975, allocations: 16.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002597/0.2112, allocations: 1.611 MB / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2126, allocations: 0.7259 MB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2128, allocations: 4 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.213, allocations: 67.77 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.2132, allocations: 79.69 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.2138, allocations: 132.8 kB / 0.902 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.2141, allocations: 219.5 kB / 0.9023 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2142, allocations: 65.55 kB / 0.9023 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2144, allocations: 87.67 kB / 0.9024 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2146, allocations: 115.5 kB / 0.9025 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.2146, allocations: 4 kB / 0.9025 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2148, allocations: 75.94 kB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.2148, allocations: 47.83 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.2149, allocations: 65.52 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.2152, allocations: 215.8 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2152, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2152, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2152, allocations: 0 / 0.9029 GB, free: 62.02 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.0009312/0.2162, allocations: 0.5469 MB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2162, allocations: 12.03 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.2163, allocations: 24.66 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.2169, allocations: 307.1 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.217, allocations: 12.38 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.217, allocations: 20.28 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.2175, allocations: 231.2 kB / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2176, allocations: 0 / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.2176, allocations: 8 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2176, allocations: 0 / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.218, allocations: 132.4 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.2189, allocations: 0.6808 MB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.2195, allocations: 182.5 kB / 0.905 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2198, allocations: 108.9 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2198, allocations: 0 / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.2202, allocations: 177 kB / 0.9053 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.2202, allocations: 0 / 0.9053 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.00097/0.2212, allocations: 396.9 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2213, allocations: 136.5 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.2216, allocations: 270.7 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.2216, allocations: 33.7 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2218, allocations: 160.2 kB / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.2218, allocations: 39.45 kB / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.2219, allocations: 8 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.2219, allocations: 334.8 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.2222, allocations: 91.95 kB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.2225, allocations: 137 kB / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.2228, allocations: 119.5 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2228, allocations: 0 / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006967/0.2235, allocations: 345.6 kB / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.2235, allocations: 33.7 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2236, allocations: 3.984 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2236, allocations: 0 / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2238, allocations: 35.92 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.2238, allocations: 4 kB / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.224, allocations: 27.92 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2241, allocations: 8 kB / 0.9074 GB, free: 57.16 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.0001882/0.2243, allocations: 191.5 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.2244, allocations: 27.7 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.2244, allocations: 25.83 kB / 0.9076 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2245, allocations: 7.984 kB / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2245, allocations: 0 / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2245, allocations: 104.8 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.2246, allocations: 4 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.2248, allocations: 23.92 kB / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.2249, allocations: 23.95 kB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001171/0.2261, allocations: 0.5095 MB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001018/0.2271, allocations: 0.6181 MB / 0.9088 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002829/0.2274, allocations: 124 kB / 0.909 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002257/0.2277, allocations: 202.2 kB / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of Backend: time 7.81e-07/0.2277, allocations: 0 / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009126/0.2286, allocations: 317.8 kB / 0.9095 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001058/0.2297, allocations: 0.9673 MB / 0.9104 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.008003/0.2377, allocations: 2.628 MB / 0.913 GB, free: 51.26 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)