Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 115.4 kB / 17.09 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.00142, allocations: 193.6 kB / 18.02 MB, free: 4.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 66.7 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1799, allocations: 76.17 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003877/0.1839, allocations: 1.937 MB / 0.6346 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1852, allocations: 0.7052 MB / 0.6353 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1853, allocations: 7.938 kB / 0.6353 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1855, allocations: 87.62 kB / 0.6354 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1857, allocations: 91.58 kB / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.1863, allocations: 182 kB / 0.6357 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1866, allocations: 267.4 kB / 0.6359 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1868, allocations: 77.8 kB / 0.636 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1869, allocations: 115.7 kB / 0.6361 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1871, allocations: 151.5 kB / 0.6362 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.1872, allocations: 20 kB / 0.6363 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1873, allocations: 91.92 kB / 0.6363 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.1874, allocations: 63.77 kB / 0.6364 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1875, allocations: 111.3 kB / 0.6365 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.1879, allocations: 299 kB / 0.6368 GB, free: 224 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1879, allocations: 0 / 0.6368 GB, free: 224 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1879, allocations: 4 kB / 0.6368 GB, free: 220 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1879, allocations: 0 / 0.6368 GB, free: 220 kB / 478.1 MB 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.0008742/0.1888, allocations: 0.5819 MB / 0.6374 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1888, allocations: 8.031 kB / 0.6374 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.1889, allocations: 32.56 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.1894, allocations: 306.8 kB / 0.6377 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1894, allocations: 12.38 kB / 0.6377 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1895, allocations: 16.38 kB / 0.6377 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.1898, allocations: 227.7 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1899, allocations: 4 kB / 0.6379 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1899, allocations: 4 kB / 0.638 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1899, allocations: 4 kB / 0.638 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.1901, allocations: 132.4 kB / 0.6381 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.1909, allocations: 0.6768 MB / 0.6387 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1912, allocations: 166.5 kB / 0.6389 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1914, allocations: 104.9 kB / 0.639 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1914, allocations: 4.031 kB / 0.639 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1917, allocations: 169 kB / 0.6392 GB, free: 13.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1917, allocations: 4 kB / 0.6392 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006595/0.1924, allocations: 374 kB / 0.6395 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.1924, allocations: 136.5 kB / 0.6397 GB, free: 13.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1927, allocations: 282.6 kB / 0.6399 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1927, allocations: 29.7 kB / 0.64 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1929, allocations: 156.2 kB / 0.6401 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1929, allocations: 43.44 kB / 0.6401 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.193, allocations: 45.8 kB / 0.6402 GB, free: 12.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1931, allocations: 338.8 kB / 0.6405 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.1933, allocations: 87.95 kB / 0.6406 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1935, allocations: 138.5 kB / 0.6407 GB, free: 11.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.1938, allocations: 244.8 kB / 0.641 GB, free: 11.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1938, allocations: 3.938 kB / 0.641 GB, free: 11.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000466/0.1943, allocations: 327 kB / 0.6413 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.1943, allocations: 45.78 kB / 0.6413 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1943, allocations: 3.938 kB / 0.6413 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1944, allocations: 4 kB / 0.6413 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1945, allocations: 19.98 kB / 0.6413 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1945, allocations: 4 kB / 0.6414 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1946, allocations: 23.83 kB / 0.6414 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1946, allocations: 8 kB / 0.6414 GB, free: 11.18 MB / 494.1 MB 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.0001739/0.1948, allocations: 196 kB / 0.6416 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.1949, allocations: 27.72 kB / 0.6416 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.1949, allocations: 29.83 kB / 0.6416 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1949, allocations: 0 / 0.6416 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1949, allocations: 0 / 0.6416 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.195, allocations: 100.8 kB / 0.6417 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1951, allocations: 8 kB / 0.6417 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1952, allocations: 15.92 kB / 0.6417 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.1953, allocations: 23.95 kB / 0.6418 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007361/0.196, allocations: 489.8 kB / 0.6422 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007386/0.1967, allocations: 0.6055 MB / 0.6428 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001894/0.1969, allocations: 120 kB / 0.6429 GB, free: 9.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1971, allocations: 205.9 kB / 0.6431 GB, free: 9.301 MB / 494.1 MB Notification: Performance of Backend: time 4.91e-07/0.1971, allocations: 0 / 0.6431 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.1978, allocations: 308.8 kB / 0.6434 GB, free: 8.984 MB / 494.1 MB Notification: Performance of SimCode: time 0.001031/0.1989, allocations: 0.918 MB / 0.6443 GB, free: 8 MB / 494.1 MB Notification: Performance of Templates: time 0.006626/0.2055, allocations: 3.051 MB / 0.6473 GB, free: 4.969 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)