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.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001029/0.001029, allocations: 179.6 kB / 326.5 MB, free: 2.266 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.874/1.874, allocations: 205.4 MB / 0.5775 GB, free: 20.37 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.0008716/0.0008716, allocations: 100.3 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004493, allocations: 12.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 106.3 MB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002038/0.2687, allocations: 1.647 MB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.2709, allocations: 2.211 MB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.2711, allocations: 0 / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.2721, allocations: 0.4907 MB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.2722, allocations: 55.89 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.2728, allocations: 202.4 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.273, allocations: 247.5 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2732, allocations: 84.7 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.2733, allocations: 95.52 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2734, allocations: 119.4 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.2735, allocations: 4 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.2738, allocations: 267.6 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.2739, allocations: 87.67 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.274, allocations: 121.4 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.2744, allocations: 0.5887 MB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2744, allocations: 0 / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2744, allocations: 4 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.2744, allocations: 0 / 0.9062 GB, free: 57.68 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.0007751/0.2752, allocations: 0.7713 MB / 0.907 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2753, allocations: 12.03 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.2753, allocations: 46.48 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.2754, allocations: 63.2 kB / 0.9071 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.2757, allocations: 331.8 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2757, allocations: 8 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.2757, allocations: 7.984 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.2759, allocations: 130.2 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.276, allocations: 3.938 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.276, allocations: 0 / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.276, allocations: 11.89 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2761, allocations: 100.1 kB / 0.9076 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.2767, allocations: 0.5396 MB / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2769, allocations: 110.5 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.2769, allocations: 8.031 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.2771, allocations: 133.2 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.2771, allocations: 0 / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004109/0.2775, allocations: 387.6 kB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2776, allocations: 81.11 kB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.2782, allocations: 0.758 MB / 0.9096 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2783, allocations: 25.7 kB / 0.9096 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2785, allocations: 272.3 kB / 0.9099 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.2785, allocations: 31.64 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.2785, allocations: 4 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.2786, allocations: 313.9 kB / 0.9102 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.2786, allocations: 47.97 kB / 0.9103 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.2787, allocations: 40.31 kB / 0.9103 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.2788, allocations: 81.67 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2788, allocations: 0 / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002349/0.279, allocations: 258.5 kB / 0.9106 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.2791, allocations: 44.66 kB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2791, allocations: 4 kB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2791, allocations: 0 / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.2792, allocations: 8 kB / 0.9107 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2792, allocations: 3.984 kB / 0.9107 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2793, allocations: 15.84 kB / 0.9107 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2793, allocations: 4 kB / 0.9107 GB, free: 52.79 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.0002341/0.2796, allocations: 336.7 kB / 0.911 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.2796, allocations: 59.25 kB / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.28, allocations: 300.6 kB / 0.9114 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.28, allocations: 4 kB / 0.9114 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.28, allocations: 0 / 0.9114 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.28, allocations: 0 / 0.9114 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.2803, allocations: 373.3 kB / 0.9117 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2803, allocations: 3.938 kB / 0.9117 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.2803, allocations: 4 kB / 0.9117 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2803, allocations: 4 kB / 0.9117 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2803, allocations: 3.938 kB / 0.9117 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2803, allocations: 0 / 0.9117 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2803, allocations: 8 kB / 0.9117 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.2806, allocations: 302 kB / 0.912 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2807, allocations: 148.3 kB / 0.9122 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.2808, allocations: 4 kB / 0.9122 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.2809, allocations: 8 kB / 0.9122 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.2809, allocations: 7.984 kB / 0.9122 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.281, allocations: 4.188 kB / 0.9122 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000492/0.2815, allocations: 0.5614 MB / 0.9127 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2815, allocations: 0 / 0.9127 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000378/0.2819, allocations: 120 kB / 0.9129 GB, free: 50.45 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.000687/0.2825, allocations: 0.9374 MB / 0.9138 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.2828, allocations: 203.3 kB / 0.914 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2828, allocations: 0 / 0.914 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.2829, allocations: 147.3 kB / 0.9141 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2833, allocations: 101.5 kB / 0.9142 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.2867, allocations: 3.288 MB / 0.9174 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2871, allocations: 0.9699 MB / 0.9184 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.2871, allocations: 25.53 kB / 0.9184 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2873, allocations: 151.4 kB / 0.9185 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2873, allocations: 0 / 0.9185 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.309, allocations: 10.65 MB / 0.9289 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.3092, allocations: 221.3 kB / 0.9291 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.572, allocations: 0 / 0.9291 GB, free: 33.86 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)