Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001859/0.001859, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002275/0.002275, allocations: 210.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00258/0.00258, allocations: 298.6 kB / 312.7 MB, free: 2.578 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003055/0.003055, allocations: 100.7 kB / 0.74 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1802, allocations: 95.38 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00379/0.184, allocations: 1.924 MB / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1854, allocations: 0.7129 MB / 0.8357 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1855, allocations: 3.938 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1857, allocations: 83.66 kB / 0.8358 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1859, allocations: 95.56 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.1865, allocations: 184.8 kB / 0.836 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.1869, allocations: 255.5 kB / 0.8363 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.187, allocations: 50.16 kB / 0.8363 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1872, allocations: 115.7 kB / 0.8364 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.1875, allocations: 159.5 kB / 0.8366 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.1876, allocations: 20 kB / 0.8366 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1877, allocations: 91.86 kB / 0.8367 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1878, allocations: 59.83 kB / 0.8368 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1879, allocations: 83.47 kB / 0.8368 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.1884, allocations: 310.8 kB / 0.8371 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1884, allocations: 0 / 0.8371 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1884, allocations: 0 / 0.8371 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.1884, allocations: 0 / 0.8371 GB, free: 3.684 MB / 0.5762 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.0009885/0.1894, allocations: 0.518 MB / 0.8376 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1895, allocations: 9.938 kB / 0.8377 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.1895, allocations: 32.75 kB / 0.8377 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.1901, allocations: 249.1 kB / 0.8379 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1901, allocations: 8.375 kB / 0.8379 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1902, allocations: 20.38 kB / 0.8379 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.1907, allocations: 313.5 kB / 0.8382 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1907, allocations: 0 / 0.8382 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1907, allocations: 8 kB / 0.8383 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1907, allocations: 0 / 0.8383 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.191, allocations: 166.7 kB / 0.8384 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.1919, allocations: 0.5713 MB / 0.839 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.1923, allocations: 192.2 kB / 0.8392 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1925, allocations: 122.6 kB / 0.8393 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1925, allocations: 3.984 kB / 0.8393 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.1928, allocations: 202.7 kB / 0.8395 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1928, allocations: 0 / 0.8395 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007608/0.1935, allocations: 442.5 kB / 0.8399 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.1936, allocations: 132.5 kB / 0.84 GB, free: 496 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.1939, allocations: 269.8 kB / 0.8403 GB, free: 216 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.194, allocations: 33.7 kB / 0.8403 GB, free: 176 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1941, allocations: 152.3 kB / 0.8405 GB, free: 20 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/0.1942, allocations: 51.77 kB / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1943, allocations: 41.7 kB / 0.8405 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1945, allocations: 334.8 kB / 0.8409 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1947, allocations: 113.7 kB / 0.841 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.195, allocations: 226 kB / 0.8412 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1953, allocations: 242.2 kB / 0.8414 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1953, allocations: 0 / 0.8414 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006039/0.196, allocations: 380.7 kB / 0.8418 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.196, allocations: 41.81 kB / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.196, allocations: 0 / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.196, allocations: 4 kB / 0.8418 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1962, allocations: 19.98 kB / 0.8418 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1962, allocations: 4 kB / 0.8418 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1963, allocations: 19.94 kB / 0.8419 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1963, allocations: 11.94 kB / 0.8419 GB, free: 14.46 MB / 0.5919 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.0001998/0.1965, allocations: 202.6 kB / 0.8421 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1966, allocations: 31.86 kB / 0.8421 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.1966, allocations: 21.78 kB / 0.8421 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1966, allocations: 3.984 kB / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1966, allocations: 96 / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1966, allocations: 3.938 kB / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.1968, allocations: 201.1 kB / 0.8423 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1968, allocations: 0 / 0.8423 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.197, allocations: 19.98 kB / 0.8423 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.197, allocations: 4 kB / 0.8423 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.197, allocations: 3.984 kB / 0.8423 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.197, allocations: 8 kB / 0.8424 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.197, allocations: 3.938 kB / 0.8424 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008302/0.1978, allocations: 0.5235 MB / 0.8429 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.1979, allocations: 23.89 kB / 0.8429 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1979, allocations: 4 kB / 0.8429 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.198, allocations: 15.98 kB / 0.8429 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.1981, allocations: 23.95 kB / 0.8429 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.1981, allocations: 11.98 kB / 0.8429 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001968/0.1983, allocations: 197.3 kB / 0.8431 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1983, allocations: 0 / 0.8431 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002953/0.1986, allocations: 59.89 kB / 0.8432 GB, free: 13.04 MB / 0.5919 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.0002021/0.1988, allocations: 132.7 kB / 0.8433 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.1993, allocations: 322.6 kB / 0.8436 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1993, allocations: 192 / 0.8436 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.1996, allocations: 193 kB / 0.8438 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.1999, allocations: 32.42 kB / 0.8438 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.2007, allocations: 484.7 kB / 0.8443 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2008, allocations: 156.1 kB / 0.8445 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.812e-05/0.2009, allocations: 17.42 kB / 0.8445 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.201, allocations: 15.44 kB / 0.8445 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.201, allocations: 0 / 0.8445 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.007263/0.2082, allocations: 3.085 MB / 0.8475 GB, free: 8.566 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.266456190496683] Failed to read output from testmodel.py, exit status != 0: 0.215945802628994 0.23294371000000003 0.041270158 Calling exit ...