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.396/1.396, allocations: 252 MB / 267.3 MB, free: 10.85 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.001089/0.001088, allocations: 179 kB / 327 MB, free: 2.105 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.922/1.922, allocations: 205.4 MB / 0.578 GB, free: 20.06 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.0008775/0.0008775, allocations: 91.31 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 11.22 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.267, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002247/0.2693, allocations: 1.704 MB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.2721, allocations: 2.517 MB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2723, allocations: 7.938 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.2736, allocations: 482.3 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2737, allocations: 55.78 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.2744, allocations: 203.6 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.2748, allocations: 300 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.275, allocations: 96.69 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2751, allocations: 83.55 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2753, allocations: 131.2 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.2753, allocations: 3.938 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.2758, allocations: 303.6 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2759, allocations: 103.5 kB / 0.9067 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.2761, allocations: 216.3 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.2768, allocations: 0.7592 MB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2768, allocations: 0 / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.367e-06/0.2768, allocations: 0 / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2768, allocations: 3.938 kB / 0.9077 GB, free: 56.42 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.0009306/0.2777, allocations: 0.7662 MB / 0.9084 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.2778, allocations: 12.02 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.2779, allocations: 42.75 kB / 0.9085 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.2779, allocations: 60.19 kB / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2783, allocations: 364.5 kB / 0.9089 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2784, allocations: 4.375 kB / 0.9089 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.2784, allocations: 8.375 kB / 0.9089 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2786, allocations: 129.8 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2787, allocations: 0 / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2787, allocations: 4 kB / 0.909 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2787, allocations: 0 / 0.909 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.2789, allocations: 95.95 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.2795, allocations: 0.547 MB / 0.9097 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2797, allocations: 110.5 kB / 0.9098 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.2798, allocations: 61.17 kB / 0.9098 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.2798, allocations: 11.92 kB / 0.9098 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.2801, allocations: 133.1 kB / 0.91 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.2801, allocations: 0 / 0.91 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004236/0.2805, allocations: 302.9 kB / 0.9103 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2806, allocations: 77.11 kB / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.2813, allocations: 0.7658 MB / 0.9111 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2813, allocations: 25.7 kB / 0.9111 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.2816, allocations: 276.2 kB / 0.9114 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.2816, allocations: 31.64 kB / 0.9114 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.2816, allocations: 0 / 0.9114 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.2817, allocations: 314 kB / 0.9117 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.2818, allocations: 47.97 kB / 0.9117 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.2818, allocations: 51.89 kB / 0.9118 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.282, allocations: 156.2 kB / 0.9119 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.282, allocations: 0 / 0.9119 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002644/0.2822, allocations: 262.5 kB / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.2823, allocations: 41.69 kB / 0.9122 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2823, allocations: 7.938 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2823, allocations: 3.938 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.2824, allocations: 8 kB / 0.9123 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2824, allocations: 0 / 0.9123 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2825, allocations: 15.89 kB / 0.9123 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.2826, allocations: 4 kB / 0.9123 GB, free: 51.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.2828, allocations: 327.4 kB / 0.9126 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2829, allocations: 63.19 kB / 0.9126 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.2832, allocations: 304.5 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2832, allocations: 3.984 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2833, allocations: 0 / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2833, allocations: 0 / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2836, allocations: 373.3 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2836, allocations: 0 / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.2836, allocations: 11.98 kB / 0.9133 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2836, allocations: 0 / 0.9133 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2836, allocations: 4 kB / 0.9133 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2836, allocations: 128 / 0.9133 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2836, allocations: 7.938 kB / 0.9133 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2839, allocations: 313.9 kB / 0.9136 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.284, allocations: 136.3 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.2841, allocations: 8 kB / 0.9138 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.2842, allocations: 7.984 kB / 0.9138 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2842, allocations: 4 kB / 0.9138 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2843, allocations: 11.98 kB / 0.9138 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004777/0.2847, allocations: 0.5614 MB / 0.9143 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2847, allocations: 0 / 0.9143 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003248/0.2851, allocations: 124 kB / 0.9144 GB, free: 49.11 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 (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.0007119/0.2858, allocations: 0.9435 MB / 0.9154 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.286, allocations: 203.3 kB / 0.9156 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2861, allocations: 4 kB / 0.9156 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2862, allocations: 151.3 kB / 0.9157 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.2867, allocations: 101.7 kB / 0.9158 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.2911, allocations: 4.705 MB / 0.9204 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.2915, allocations: 0.9698 MB / 0.9213 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.97e-05/0.2916, allocations: 17.56 kB / 0.9214 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.2917, allocations: 155.4 kB / 0.9215 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2917, allocations: 0 / 0.9215 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.312, allocations: 10.76 MB / 0.932 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.3123, allocations: 244.1 kB / 0.9322 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/2.924, allocations: 0 / 0.9322 GB, free: 30.93 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)