Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.287/2.287, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 169.1 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 85.81 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004686, allocations: 12.09 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002537/0.2075, allocations: 1.666 MB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.2113, allocations: 2.332 MB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2115, allocations: 0 / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.213, allocations: 462.4 kB / 0.9039 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.2132, allocations: 51.72 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.2142, allocations: 199.6 kB / 0.9041 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.2147, allocations: 277.3 kB / 0.9044 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.2149, allocations: 84.7 kB / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2151, allocations: 103.5 kB / 0.9046 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2153, allocations: 119.4 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.2154, allocations: 4 kB / 0.9047 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.216, allocations: 283.6 kB / 0.9049 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2161, allocations: 103.5 kB / 0.905 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.2163, allocations: 121.4 kB / 0.9052 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.217, allocations: 0.5885 MB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.217, allocations: 4 kB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.217, allocations: 0 / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.217, allocations: 0 / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001102/0.2182, allocations: 0.7735 MB / 0.9065 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2182, allocations: 8.031 kB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.2183, allocations: 60.19 kB / 0.9066 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.2187, allocations: 341 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2188, allocations: 4.375 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.2188, allocations: 12.38 kB / 0.9069 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.2191, allocations: 131.1 kB / 0.907 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2191, allocations: 0 / 0.907 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.2192, allocations: 8 kB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2192, allocations: 4 kB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.2194, allocations: 91.94 kB / 0.9071 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.2204, allocations: 0.5431 MB / 0.9076 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.2206, allocations: 110.5 kB / 0.9078 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2207, allocations: 60.97 kB / 0.9078 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.2208, allocations: 8.188 kB / 0.9078 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.2211, allocations: 140.9 kB / 0.908 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 4.839e-06/0.2211, allocations: 3.984 kB / 0.908 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006132/0.2217, allocations: 306.5 kB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2218, allocations: 81.11 kB / 0.9083 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.223, allocations: 0.7581 MB / 0.9091 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.223, allocations: 29.7 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2233, allocations: 276.2 kB / 0.9094 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.2234, allocations: 27.64 kB / 0.9094 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.2234, allocations: 0 / 0.9094 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.2235, allocations: 306 kB / 0.9097 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2236, allocations: 47.97 kB / 0.9097 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.2237, allocations: 47.98 kB / 0.9098 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.2238, allocations: 73.67 kB / 0.9098 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2239, allocations: 4 kB / 0.9098 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000424/0.2243, allocations: 266.5 kB / 0.9101 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.2243, allocations: 37.69 kB / 0.9101 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2244, allocations: 3.938 kB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2244, allocations: 0 / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2245, allocations: 15.98 kB / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2245, allocations: 0 / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2247, allocations: 7.906 kB / 0.9102 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.2248, allocations: 4 kB / 0.9102 GB, free: 54.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004096/0.2252, allocations: 339.4 kB / 0.9105 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.2253, allocations: 63.19 kB / 0.9105 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.2258, allocations: 292.6 kB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2259, allocations: 0 / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2259, allocations: 0 / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.2261, allocations: 152.2 kB / 0.911 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.2262, allocations: 4 kB / 0.911 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2264, allocations: 8 kB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.2264, allocations: 7.984 kB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004679/0.2269, allocations: 366 kB / 0.9113 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004975/0.2274, allocations: 460 kB / 0.9118 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000144/0.2276, allocations: 83.95 kB / 0.9119 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009439/0.2286, allocations: 0.5653 MB / 0.9124 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of Backend: time 8.21e-07/0.2286, allocations: 0 / 0.9124 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2297, allocations: 305.7 kB / 0.9127 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002471/0.2322, allocations: 1.656 MB / 0.9143 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.01463/0.2469, allocations: 4.997 MB / 0.9192 GB, free: 44.91 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)