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.0009361/0.000936, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00104/0.00104, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.803/1.803, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005115/0.0005116, allocations: 15.25 kB / 0.6739 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002492/0.2468, allocations: 1.763 MB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2496, allocations: 2.246 MB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.2498, allocations: 3.938 kB / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2509, allocations: 482.3 kB / 0.7918 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.2512, allocations: 99.56 kB / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.2518, allocations: 185.6 kB / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.2522, allocations: 314.4 kB / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2523, allocations: 56.72 kB / 0.7924 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2525, allocations: 123.4 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.2526, allocations: 131.3 kB / 0.7927 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2527, allocations: 8 kB / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2528, allocations: 47.98 kB / 0.7927 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.253, allocations: 119.5 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2531, allocations: 133.4 kB / 0.793 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.2536, allocations: 0.53 MB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2536, allocations: 0 / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2536, allocations: 3.938 kB / 0.7935 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2536, allocations: 0 / 0.7935 GB, free: 5.582 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.00102/0.2546, allocations: 0.8022 MB / 0.7943 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2547, allocations: 12.03 kB / 0.7943 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.2547, allocations: 34.55 kB / 0.7943 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.2548, allocations: 67.2 kB / 0.7944 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2552, allocations: 403.5 kB / 0.7948 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2553, allocations: 4 kB / 0.7948 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2553, allocations: 4 kB / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2555, allocations: 100.2 kB / 0.7949 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2555, allocations: 0 / 0.7949 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2555, allocations: 4 kB / 0.7949 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2556, allocations: 3.938 kB / 0.7949 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2557, allocations: 43.97 kB / 0.7949 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.2564, allocations: 0.5044 MB / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.2567, allocations: 114.7 kB / 0.7955 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.2568, allocations: 32.84 kB / 0.7955 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2569, allocations: 0 / 0.7955 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.257, allocations: 83.38 kB / 0.7956 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.257, allocations: 0 / 0.7956 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003841/0.2574, allocations: 197 kB / 0.7958 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.2575, allocations: 110.8 kB / 0.7959 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2585, allocations: 0.8756 MB / 0.7968 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2586, allocations: 33.64 kB / 0.7968 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.2588, allocations: 303.9 kB / 0.7971 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2589, allocations: 19.8 kB / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.2589, allocations: 4 kB / 0.7971 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.259, allocations: 306 kB / 0.7974 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.2591, allocations: 27.98 kB / 0.7974 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.6e-05/0.2592, allocations: 76.27 kB / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.2593, allocations: 43.98 kB / 0.7976 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2593, allocations: 0 / 0.7976 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002447/0.2595, allocations: 160.8 kB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2596, allocations: 4 kB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2596, allocations: 7.969 kB / 0.7977 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2596, allocations: 3.953 kB / 0.7977 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.2597, allocations: 15.98 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2597, allocations: 4 kB / 0.7977 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2598, allocations: 4 kB / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.2598, allocations: 0 / 0.7977 GB, free: 0.9453 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.2601, allocations: 325.2 kB / 0.7981 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.2602, allocations: 63.16 kB / 0.7981 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.2603, allocations: 81.98 kB / 0.7982 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2603, allocations: 3.953 kB / 0.7982 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2603, allocations: 3.938 kB / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2603, allocations: 0 / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.2607, allocations: 385.4 kB / 0.7986 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2607, allocations: 4 kB / 0.7986 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.2607, allocations: 15.92 kB / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2608, allocations: 0 / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2608, allocations: 0 / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2608, allocations: 4 kB / 0.7986 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2608, allocations: 3.953 kB / 0.7986 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.2611, allocations: 188.2 kB / 0.7988 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2612, allocations: 136.3 kB / 0.7989 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.2612, allocations: 4 kB / 0.7989 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2614, allocations: 4 kB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2614, allocations: 7.984 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2614, allocations: 11.95 kB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000718/0.2622, allocations: 0.6475 MB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2622, allocations: 4 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000288/0.2625, allocations: 71.83 kB / 0.7996 GB, free: 14.91 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 (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.001364/0.2638, allocations: 1.036 MB / 0.8006 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2641, allocations: 83.88 kB / 0.8007 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2641, allocations: 0 / 0.8007 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.2642, allocations: 35.98 kB / 0.8008 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.2648, allocations: 137.3 kB / 0.8009 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.2694, allocations: 3.688 MB / 0.8045 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.2701, allocations: 0.9901 MB / 0.8055 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.2702, allocations: 38.28 kB / 0.8055 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.2705, allocations: 179.4 kB / 0.8057 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.2705, allocations: 0 / 0.8057 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2952, allocations: 11.59 MB / 0.817 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.2954, allocations: 249.7 kB / 0.8172 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.331, allocations: 0 / 0.8172 GB, free: 13.17 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/linux/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) Environment - environmentSimulation: