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.01046/0.01046, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.001926/0.001926, allocations: 194.7 kB / 16.79 MB, free: 6.242 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.492/1.492, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7566/0.7566, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 56.5 kB / 0.4904 GB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.175, allocations: 77.93 MB / 0.5665 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003433/0.1784, allocations: 1.995 MB / 0.5685 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1797, allocations: 0.7169 MB / 0.5692 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1799, allocations: 3.938 kB / 0.5692 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1802, allocations: 79.75 kB / 0.5692 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1803, allocations: 79.7 kB / 0.5693 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1809, allocations: 163.2 kB / 0.5695 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1812, allocations: 239.4 kB / 0.5697 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1814, allocations: 70.09 kB / 0.5698 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1815, allocations: 99.66 kB / 0.5699 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1817, allocations: 143.5 kB / 0.57 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.1818, allocations: 8 kB / 0.57 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1819, allocations: 87.88 kB / 0.5701 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.182, allocations: 51.81 kB / 0.5701 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1821, allocations: 91.34 kB / 0.5702 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1824, allocations: 283.1 kB / 0.5705 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1825, allocations: 0 / 0.5705 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1825, allocations: 4 kB / 0.5705 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1825, allocations: 0 / 0.5705 GB, free: 12.61 MB / 446.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.0009203/0.1834, allocations: 0.5819 MB / 0.5711 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1834, allocations: 8.031 kB / 0.5711 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.1835, allocations: 28.66 kB / 0.5711 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.184, allocations: 298.8 kB / 0.5714 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.184, allocations: 12.38 kB / 0.5714 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.1841, allocations: 12.38 kB / 0.5714 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.1845, allocations: 231.2 kB / 0.5716 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1845, allocations: 3.938 kB / 0.5716 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1845, allocations: 8 kB / 0.5716 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1845, allocations: 0 / 0.5716 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.1848, allocations: 133.3 kB / 0.5718 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.1856, allocations: 0.6847 MB / 0.5724 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.186, allocations: 170.5 kB / 0.5726 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1861, allocations: 96.83 kB / 0.5727 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.1862, allocations: 0 / 0.5727 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.1865, allocations: 177 kB / 0.5729 GB, free: 9.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1865, allocations: 0 / 0.5729 GB, free: 9.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006766/0.1872, allocations: 372 kB / 0.5732 GB, free: 9.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.1873, allocations: 132.5 kB / 0.5733 GB, free: 9.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1876, allocations: 282.7 kB / 0.5736 GB, free: 9.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1876, allocations: 33.64 kB / 0.5736 GB, free: 9.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1877, allocations: 164.1 kB / 0.5738 GB, free: 8.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1878, allocations: 39.45 kB / 0.5738 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.1879, allocations: 37.7 kB / 0.5739 GB, free: 8.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.188, allocations: 338.8 kB / 0.5742 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1882, allocations: 95.83 kB / 0.5743 GB, free: 8.461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1884, allocations: 135.1 kB / 0.5744 GB, free: 8.312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.1887, allocations: 236.6 kB / 0.5746 GB, free: 8.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1887, allocations: 0 / 0.5746 GB, free: 8.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004886/0.1892, allocations: 339.1 kB / 0.575 GB, free: 7.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.1893, allocations: 37.69 kB / 0.575 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1893, allocations: 0 / 0.575 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1893, allocations: 4 kB / 0.575 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1894, allocations: 27.92 kB / 0.575 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1895, allocations: 7.984 kB / 0.575 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1896, allocations: 23.73 kB / 0.5751 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1896, allocations: 12 kB / 0.5751 GB, free: 7.598 MB / 446.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.0001956/0.1898, allocations: 191.5 kB / 0.5753 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1899, allocations: 27.72 kB / 0.5753 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.1899, allocations: 25.83 kB / 0.5753 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1899, allocations: 3.984 kB / 0.5753 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.1899, allocations: 4 kB / 0.5753 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1899, allocations: 0 / 0.5753 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1902, allocations: 289.4 kB / 0.5756 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1902, allocations: 0 / 0.5756 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1903, allocations: 28.02 kB / 0.5756 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1903, allocations: 3.938 kB / 0.5756 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1904, allocations: 4 kB / 0.5756 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1904, allocations: 0 / 0.5756 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1904, allocations: 0 / 0.5756 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.1911, allocations: 480.2 kB / 0.5761 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.1911, allocations: 100.9 kB / 0.5762 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.1912, allocations: 8 kB / 0.5762 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1913, allocations: 11.98 kB / 0.5762 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.1914, allocations: 27.95 kB / 0.5762 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1914, allocations: 4 kB / 0.5762 GB, free: 6.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1916, allocations: 205.9 kB / 0.5764 GB, free: 6.109 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1916, allocations: 0 / 0.5764 GB, free: 6.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1919, allocations: 55.94 kB / 0.5765 GB, free: 6.055 MB / 446.1 MB 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.0001844/0.1921, allocations: 135.2 kB / 0.5766 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.1925, allocations: 290.6 kB / 0.5769 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1925, allocations: 0 / 0.5769 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.1928, allocations: 195.3 kB / 0.5771 GB, free: 5.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1931, allocations: 32.73 kB / 0.5771 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.194, allocations: 0.5378 MB / 0.5776 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1943, allocations: 0.7517 MB / 0.5784 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.754e-05/0.1944, allocations: 21.48 kB / 0.5784 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.1945, allocations: 15.44 kB / 0.5784 GB, free: 4.012 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1945, allocations: 4 kB / 0.5784 GB, free: 4.008 MB / 446.1 MB Notification: Performance of Templates: time 0.005892/0.2004, allocations: 2.532 MB / 0.5809 GB, free: 1.496 MB / 446.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)