Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 252 MB / 267 MB, free: 10.96 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.0009326/0.0009328, allocations: 176.6 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007939/0.0007942, allocations: 88.08 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003752, allocations: 9.594 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001975/0.2333, allocations: 1.658 MB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2356, allocations: 2.331 MB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2357, allocations: 4 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.2366, allocations: 454.4 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.2367, allocations: 51.73 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.2373, allocations: 213.7 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.2376, allocations: 277.4 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2377, allocations: 76.72 kB / 0.9053 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.2378, allocations: 107.5 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.238, allocations: 115.4 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.238, allocations: 4 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.2383, allocations: 287.5 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.2384, allocations: 91.61 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.2385, allocations: 117.4 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.2389, allocations: 0.5885 MB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2389, allocations: 0 / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2389, allocations: 3.984 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2389, allocations: 4 kB / 0.9065 GB, free: 57.79 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.0007401/0.2397, allocations: 0.7791 MB / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2397, allocations: 8.031 kB / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.2398, allocations: 46.55 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.2398, allocations: 63.2 kB / 0.9074 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.2401, allocations: 331.8 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2401, allocations: 4 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2402, allocations: 12 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.2404, allocations: 133.4 kB / 0.9079 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2404, allocations: 0 / 0.9079 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2404, allocations: 4 kB / 0.9079 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2404, allocations: 7.953 kB / 0.9079 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2406, allocations: 95.09 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.2411, allocations: 0.5396 MB / 0.9085 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.2413, allocations: 110.5 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.2413, allocations: 64.88 kB / 0.9087 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.2414, allocations: 11.98 kB / 0.9087 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.2416, allocations: 129.1 kB / 0.9088 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.2416, allocations: 0 / 0.9088 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003625/0.2419, allocations: 310.5 kB / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.242, allocations: 85.11 kB / 0.9092 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.2426, allocations: 0.758 MB / 0.9099 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2427, allocations: 25.7 kB / 0.9099 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2428, allocations: 272.3 kB / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2429, allocations: 27.64 kB / 0.9102 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.2429, allocations: 4 kB / 0.9102 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.2429, allocations: 309.9 kB / 0.9105 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.243, allocations: 47.97 kB / 0.9106 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.2431, allocations: 47.98 kB / 0.9106 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.2431, allocations: 82.05 kB / 0.9107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2432, allocations: 0 / 0.9107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002356/0.2434, allocations: 262.5 kB / 0.9109 GB, free: 53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.2434, allocations: 37.7 kB / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2435, allocations: 0 / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2435, allocations: 0 / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.2436, allocations: 11.98 kB / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2436, allocations: 160 / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2437, allocations: 15.91 kB / 0.911 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.2437, allocations: 7.984 kB / 0.911 GB, free: 52.93 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.0002516/0.244, allocations: 337.9 kB / 0.9113 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.244, allocations: 63.25 kB / 0.9114 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.2444, allocations: 292.6 kB / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2444, allocations: 0 / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2444, allocations: 0 / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2444, allocations: 0 / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.2447, allocations: 385.2 kB / 0.912 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2447, allocations: 4 kB / 0.912 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.2447, allocations: 8 kB / 0.912 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2448, allocations: 0 / 0.912 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2448, allocations: 4 kB / 0.912 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2448, allocations: 0 / 0.912 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2448, allocations: 3.984 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2451, allocations: 305.9 kB / 0.9123 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.2452, allocations: 148.3 kB / 0.9125 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.2452, allocations: 8 kB / 0.9125 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2453, allocations: 8 kB / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.2454, allocations: 7.969 kB / 0.9125 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2454, allocations: 12 kB / 0.9125 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004736/0.2459, allocations: 0.5536 MB / 0.9131 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2459, allocations: 0 / 0.9131 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003535/0.2463, allocations: 120 kB / 0.9132 GB, free: 50.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006572/0.2469, allocations: 0.9219 MB / 0.9141 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.2472, allocations: 215.2 kB / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2472, allocations: 0 / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2473, allocations: 151.4 kB / 0.9144 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.2478, allocations: 99.25 kB / 0.9145 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.2511, allocations: 3.46 MB / 0.9179 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.2515, allocations: 0.9699 MB / 0.9188 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.2516, allocations: 21.55 kB / 0.9189 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.2517, allocations: 147.4 kB / 0.919 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2517, allocations: 4 kB / 0.919 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.273, allocations: 10.67 MB / 0.9294 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.2732, allocations: 219.2 kB / 0.9296 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.377, allocations: 0 / 0.9296 GB, free: 33.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)