Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001441/0.001441, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 69.53 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2392, allocations: 114.6 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003734/0.243, allocations: 2.152 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.2461, allocations: 2.435 MB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2463, allocations: 0 / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2476, allocations: 0.506 MB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.2479, allocations: 87.64 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.2484, allocations: 200.8 kB / 0.7881 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.2488, allocations: 346.3 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2489, allocations: 64.73 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2491, allocations: 119.3 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2493, allocations: 143.3 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2493, allocations: 4 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.2495, allocations: 55.91 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2496, allocations: 123.5 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2498, allocations: 214.4 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.2504, allocations: 0.6579 MB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2504, allocations: 0 / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.021e-06/0.2504, allocations: 4 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2504, allocations: 4 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001152/0.2516, allocations: 0.8641 MB / 0.7906 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2516, allocations: 11.97 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2517, allocations: 38.75 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.2518, allocations: 64.09 kB / 0.7907 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.2523, allocations: 435.9 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2523, allocations: 4 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2523, allocations: 8 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2526, allocations: 100.2 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2526, allocations: 0 / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2526, allocations: 4 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2526, allocations: 4 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.2527, allocations: 35.97 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.2535, allocations: 0.52 MB / 0.7918 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.2539, allocations: 102.6 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.254, allocations: 32.84 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.254, allocations: 0 / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.2542, allocations: 91.41 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2542, allocations: 0 / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004299/0.2547, allocations: 192.8 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.2547, allocations: 106.8 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009908/0.2557, allocations: 0.8834 MB / 0.7931 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2558, allocations: 29.7 kB / 0.7932 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.256, allocations: 300 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.2561, allocations: 31.58 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.2561, allocations: 29.7 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2563, allocations: 310 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.2563, allocations: 27.98 kB / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.2565, allocations: 76.2 kB / 0.7939 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2566, allocations: 69.69 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2566, allocations: 4 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002649/0.2569, allocations: 160.9 kB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2569, allocations: 4 kB / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2569, allocations: 0 / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.257, allocations: 0 / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.257, allocations: 23.92 kB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2571, allocations: 4 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2572, allocations: 7.906 kB / 0.7942 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2572, allocations: 4 kB / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002985/0.2575, allocations: 326.3 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.2576, allocations: 63.16 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2577, allocations: 74 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2577, allocations: 3.938 kB / 0.7946 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2577, allocations: 0 / 0.7946 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2577, allocations: 4.031 kB / 0.7946 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.2581, allocations: 389.4 kB / 0.795 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2581, allocations: 0 / 0.795 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.2582, allocations: 8 kB / 0.795 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2582, allocations: 4 kB / 0.795 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2582, allocations: 3.984 kB / 0.795 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2582, allocations: 7.938 kB / 0.795 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2582, allocations: 400 / 0.795 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.2585, allocations: 192.3 kB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2586, allocations: 132.3 kB / 0.7953 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.2587, allocations: 0 / 0.7953 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2588, allocations: 15.92 kB / 0.7953 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.2589, allocations: 11.98 kB / 0.7953 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.2589, allocations: 4 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007156/0.2596, allocations: 0.659 MB / 0.796 GB, free: 28 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2596, allocations: 0 / 0.796 GB, free: 28 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003207/0.26, allocations: 60.22 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001496/0.2615, allocations: 1.048 MB / 0.7971 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.2617, allocations: 71.97 kB / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2617, allocations: 0 / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.2618, allocations: 35.92 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.2625, allocations: 152.4 kB / 0.7973 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.2682, allocations: 4.897 MB / 0.8021 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.2687, allocations: 0.9824 MB / 0.8031 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.2689, allocations: 42.58 kB / 0.8031 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.2691, allocations: 179.4 kB / 0.8033 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/0.2691, allocations: 0 / 0.8033 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.2955, allocations: 11.98 MB / 0.815 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.2957, allocations: 271.4 kB / 0.8152 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.332, allocations: 7.875 kB / 0.8152 GB, free: 12.54 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)