Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7416/0.7416, allocations: 127.4 MB / 134.9 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 175.5 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009683/0.0009682, allocations: 96.91 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.198e-05, allocations: 4 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 76.76 MB / 0.6215 GB, free: 43.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.2947, allocations: 105.1 MB / 0.7241 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.2951, allocations: 91.88 kB / 0.7242 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.3124, allocations: 5.793 MB / 0.7299 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3124, allocations: 0 / 0.7299 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.3125, allocations: 4 kB / 0.7299 GB, free: 12.03 MB / 0.5105 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.001103/0.3136, allocations: 0.5464 MB / 0.7304 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.3136, allocations: 11.97 kB / 0.7304 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3138, allocations: 39.58 kB / 0.7305 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.3144, allocations: 285.7 kB / 0.7307 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.3144, allocations: 4 kB / 0.7307 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.3145, allocations: 8 kB / 0.7307 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002918/0.3148, allocations: 136.2 kB / 0.7309 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.3152, allocations: 216.6 kB / 0.7311 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3152, allocations: 0 / 0.7311 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.3152, allocations: 4 kB / 0.7311 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3152, allocations: 7.953 kB / 0.7311 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3163, allocations: 0.6889 MB / 0.7318 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.3165, allocations: 154.6 kB / 0.7319 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3167, allocations: 96.92 kB / 0.732 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3167, allocations: 8.031 kB / 0.732 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.317, allocations: 181 kB / 0.7322 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.317, allocations: 0 / 0.7322 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0006184/0.3176, allocations: 313.2 kB / 0.7325 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.3177, allocations: 132.5 kB / 0.7326 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3179, allocations: 226 kB / 0.7328 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.318, allocations: 33.7 kB / 0.7329 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3181, allocations: 156.2 kB / 0.733 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.3182, allocations: 39.45 kB / 0.733 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.3182, allocations: 0 / 0.733 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3184, allocations: 342.8 kB / 0.7334 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3185, allocations: 92.16 kB / 0.7335 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3187, allocations: 138.4 kB / 0.7336 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3189, allocations: 94.2 kB / 0.7337 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3189, allocations: 0 / 0.7337 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000518/0.3194, allocations: 325.2 kB / 0.734 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.3195, allocations: 39.25 kB / 0.734 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3195, allocations: 0 / 0.734 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3195, allocations: 4 kB / 0.734 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3197, allocations: 32.02 kB / 0.7341 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3197, allocations: 4 kB / 0.7341 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.3199, allocations: 35.83 kB / 0.7341 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.3199, allocations: 15.98 kB / 0.7341 GB, free: 7.406 MB / 0.5105 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 () * 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.0001291/0.3201, allocations: 151.6 kB / 0.7343 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.3201, allocations: 23.72 kB / 0.7343 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.3202, allocations: 29.95 kB / 0.7343 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3202, allocations: 4 kB / 0.7343 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3202, allocations: 0 / 0.7343 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3202, allocations: 0 / 0.7343 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3205, allocations: 269.9 kB / 0.7346 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3205, allocations: 4 kB / 0.7346 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.3206, allocations: 23.98 kB / 0.7346 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3206, allocations: 3.953 kB / 0.7346 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3207, allocations: 7.984 kB / 0.7346 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3207, allocations: 4 kB / 0.7346 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3207, allocations: 0 / 0.7346 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.3215, allocations: 474.3 kB / 0.7351 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.3215, allocations: 100.9 kB / 0.7352 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3216, allocations: 8.016 kB / 0.7352 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3218, allocations: 31.97 kB / 0.7352 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.3219, allocations: 28.14 kB / 0.7352 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.3219, allocations: 15.98 kB / 0.7352 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001761/0.3221, allocations: 185.9 kB / 0.7354 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3221, allocations: 0 / 0.7354 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003507/0.3224, allocations: 67.97 kB / 0.7355 GB, free: 5.914 MB / 0.5105 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 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * 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.0002601/0.3227, allocations: 129.2 kB / 0.7356 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.3231, allocations: 263.3 kB / 0.7359 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3231, allocations: 4 kB / 0.7359 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3233, allocations: 171.3 kB / 0.736 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3236, allocations: 28.73 kB / 0.7361 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.3245, allocations: 343 kB / 0.7364 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3248, allocations: 0.7636 MB / 0.7371 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.13e-05/0.3249, allocations: 13.2 kB / 0.7371 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.325, allocations: 19.44 kB / 0.7372 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.325, allocations: 0 / 0.7372 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of Templates: time 0.005894/0.3309, allocations: 2.337 MB / 0.7394 GB, free: 1.805 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)