Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009023/0.0009023, allocations: 89.45 kB / 21.62 MB, free: 2.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 172.3 kB / 25.05 MB, free: 9.246 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9276/0.9276, allocations: 177.1 MB / 205.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.839/1.839, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.682e-05, allocations: 3.781 kB / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002403/0.00242, allocations: 2.031 MB / 0.7781 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.003349, allocations: 0.7212 MB / 0.7788 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.003437, allocations: 8.469 kB / 0.7788 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.00364, allocations: 89.03 kB / 0.7789 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.003734, allocations: 89.56 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.004096, allocations: 174.9 kB / 0.7792 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.00433, allocations: 263.4 kB / 0.7794 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.004456, allocations: 61.55 kB / 0.7795 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004608, allocations: 155.7 kB / 0.7796 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.004767, allocations: 130.5 kB / 0.7797 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.004798, allocations: 16 kB / 0.7798 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.004938, allocations: 95.92 kB / 0.7798 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.004994, allocations: 63.7 kB / 0.7799 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.005044, allocations: 51.84 kB / 0.78 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.005275, allocations: 235.2 kB / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005277, allocations: 0 / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.005277, allocations: 0 / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.005281, allocations: 3 kB / 0.7802 GB, free: 1.184 MB / 0.7292 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.0004185/0.005699, allocations: 481 kB / 0.7806 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.005729, allocations: 9.344 kB / 0.7806 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.005769, allocations: 32.92 kB / 0.7807 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005949, allocations: 206.5 kB / 0.7809 GB, free: 432 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.005968, allocations: 12.38 kB / 0.7809 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.00599, allocations: 16.38 kB / 0.7809 GB, free: 404 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.00619, allocations: 260.3 kB / 0.7812 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006198, allocations: 1.406 kB / 0.7812 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006211, allocations: 8.375 kB / 0.7812 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.006216, allocations: 7.938 kB / 0.7812 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.00628, allocations: 65.64 kB / 0.7812 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.006658, allocations: 460.8 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.006766, allocations: 133 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.006807, allocations: 63.05 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.006817, allocations: 4.781 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.006929, allocations: 153.6 kB / 0.782 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.006931, allocations: 0.625 kB / 0.782 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001824/0.007113, allocations: 223.5 kB / 0.7822 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.007164, allocations: 136.5 kB / 0.7824 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.007279, allocations: 230.2 kB / 0.7826 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.007296, allocations: 33.7 kB / 0.7826 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.007348, allocations: 128.9 kB / 0.7827 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.007374, allocations: 51.56 kB / 0.7828 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.007416, allocations: 42.55 kB / 0.7828 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.007486, allocations: 338.8 kB / 0.7831 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.007524, allocations: 50.12 kB / 0.7832 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.007591, allocations: 155 kB / 0.7833 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.007683, allocations: 149.5 kB / 0.7835 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007685, allocations: 1.25 kB / 0.7835 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001325/0.007818, allocations: 187.7 kB / 0.7837 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.007844, allocations: 46.53 kB / 0.7837 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007849, allocations: 4 kB / 0.7837 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.007856, allocations: 4.469 kB / 0.7837 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.007924, allocations: 25.77 kB / 0.7837 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.007927, allocations: 0 / 0.7837 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.007976, allocations: 15.95 kB / 0.7837 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.007986, allocations: 7.984 kB / 0.7838 GB, free: 13.17 MB / 0.7448 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 8.055e-05/0.008066, allocations: 165 kB / 0.7839 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.008086, allocations: 23.97 kB / 0.7839 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.008119, allocations: 29.7 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.00812, allocations: 1.031 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008122, allocations: 0 / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008125, allocations: 3.984 kB / 0.784 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.008219, allocations: 130.9 kB / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00822, allocations: 0 / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.008268, allocations: 17.2 kB / 0.7841 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008271, allocations: 8 kB / 0.7841 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.00828, allocations: 0 / 0.7841 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.008281, allocations: 0 / 0.7841 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008282, allocations: 8.906 kB / 0.7841 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.008478, allocations: 282.6 kB / 0.7844 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.008494, allocations: 17.17 kB / 0.7844 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.008515, allocations: 12 kB / 0.7844 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.008551, allocations: 4 kB / 0.7844 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.0086, allocations: 36.91 kB / 0.7845 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.008613, allocations: 4 kB / 0.7845 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.008666, allocations: 78.77 kB / 0.7845 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008666, allocations: 1.562 kB / 0.7845 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001395/0.008805, allocations: 59.88 kB / 0.7846 GB, free: 12.24 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.008921, allocations: 117.7 kB / 0.7847 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.00909, allocations: 212.5 kB / 0.7849 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.009094, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.00917, allocations: 142.7 kB / 0.7851 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.009292, allocations: 34.19 kB / 0.7851 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.009691, allocations: 428.2 kB / 0.7855 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.009733, allocations: 83.81 kB / 0.7856 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.442e-05/0.009778, allocations: 16.02 kB / 0.7856 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.009883, allocations: 99.34 kB / 0.7857 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.009883, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.00487/0.01475, allocations: 3.128 MB / 0.7887 GB, free: 8.062 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.84590473305434]