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.001315/0.001315, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001548/0.001548, allocations: 165 kB / 24.17 MB, free: 336 kB / 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 1.05/1.05, allocations: 177.2 MB / 204.6 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.871/1.871, allocations: 389.6 MB / 0.6354 GB, free: 12.26 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.613e-06/1.613e-06, allocations: 0 / 0.7751 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.34e-05, allocations: 10.53 kB / 0.7751 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003626/0.003649, allocations: 1.974 MB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.005344, allocations: 0.7284 MB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.005472, allocations: 0 / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.005732, allocations: 88.44 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.005907, allocations: 96.3 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.006546, allocations: 184.6 kB / 0.7781 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.006937, allocations: 263.8 kB / 0.7784 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.007102, allocations: 61.45 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.007374, allocations: 151.7 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.007593, allocations: 131.7 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.007635, allocations: 16 kB / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.007796, allocations: 83.94 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.007885, allocations: 59.77 kB / 0.7789 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.007967, allocations: 62.52 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.008318, allocations: 223.3 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.008321, allocations: 4 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.008321, allocations: 0 / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.008326, allocations: 0 / 0.7791 GB, free: 1.305 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.0006763/0.009003, allocations: 477.1 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.00904, allocations: 15.53 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.009111, allocations: 32.91 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.009403, allocations: 204.8 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.009434, allocations: 16.36 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.00947, allocations: 13 kB / 0.7799 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.009804, allocations: 261 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.009814, allocations: 1 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.009831, allocations: 8.375 kB / 0.7801 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.009841, allocations: 7.938 kB / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.009962, allocations: 70.39 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.01064, allocations: 456.3 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.01083, allocations: 132.8 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.0109, allocations: 63.16 kB / 0.7808 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.01092, allocations: 5.438 kB / 0.7808 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.0111, allocations: 145.6 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.0111, allocations: 0 / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002949/0.01139, allocations: 211.3 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.01146, allocations: 136.5 kB / 0.7813 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.01166, allocations: 225.5 kB / 0.7815 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.01169, allocations: 31.42 kB / 0.7815 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.01177, allocations: 132.9 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.01182, allocations: 47.56 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.01189, allocations: 45.67 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.012, allocations: 338.8 kB / 0.7821 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.01208, allocations: 53.33 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01219, allocations: 142.8 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.01234, allocations: 146.7 kB / 0.7824 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01234, allocations: 0 / 0.7824 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002804/0.01262, allocations: 192.4 kB / 0.7826 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.01267, allocations: 45.62 kB / 0.7826 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01268, allocations: 4.625 kB / 0.7826 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01269, allocations: 0 / 0.7826 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01279, allocations: 20.67 kB / 0.7827 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.0128, allocations: 9.688 kB / 0.7827 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.0129, allocations: 15.95 kB / 0.7827 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.01291, allocations: 4 kB / 0.7827 GB, free: 13.33 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 0.0001377/0.01305, allocations: 163.5 kB / 0.7829 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01309, allocations: 24.97 kB / 0.7829 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.01314, allocations: 21.72 kB / 0.7829 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01314, allocations: 4 kB / 0.7829 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01314, allocations: 4.516 kB / 0.7829 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01315, allocations: 1.125 kB / 0.7829 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.01331, allocations: 125.8 kB / 0.783 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01331, allocations: 0 / 0.783 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.0134, allocations: 20.75 kB / 0.783 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01341, allocations: 3.984 kB / 0.783 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.01342, allocations: 4.531 kB / 0.7831 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01342, allocations: 4 kB / 0.7831 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.01343, allocations: 8.734 kB / 0.7831 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.01377, allocations: 263.7 kB / 0.7833 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.0138, allocations: 23.8 kB / 0.7833 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.01384, allocations: 8 kB / 0.7833 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.01393, allocations: 13.02 kB / 0.7834 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.01401, allocations: 27.89 kB / 0.7834 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01402, allocations: 5.562 kB / 0.7834 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.984e-05/0.01411, allocations: 82.75 kB / 0.7835 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01411, allocations: 0 / 0.7835 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002768/0.01439, allocations: 59.89 kB / 0.7835 GB, free: 12.41 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.0002048/0.0146, allocations: 120.2 kB / 0.7836 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.01485, allocations: 208.9 kB / 0.7838 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.01486, allocations: 7.938 kB / 0.7838 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01499, allocations: 139 kB / 0.784 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01519, allocations: 36.17 kB / 0.784 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.01585, allocations: 417.3 kB / 0.7844 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.01592, allocations: 87.81 kB / 0.7845 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.508e-05/0.01599, allocations: 18.11 kB / 0.7845 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.01617, allocations: 99.34 kB / 0.7846 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.01617, allocations: 0 / 0.7846 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.007236/0.02341, allocations: 3.13 MB / 0.7877 GB, free: 8.25 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.968473425135016]