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.0008321/0.0008321, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004771/0.004771, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.302/1.302, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.676/1.676, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000507/0.0005071, allocations: 15.12 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002396/0.229, allocations: 1.81 MB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.2318, allocations: 2.376 MB / 0.7921 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2319, allocations: 7.938 kB / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.2332, allocations: 0.5022 MB / 0.7926 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.2334, allocations: 95.56 kB / 0.7927 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2339, allocations: 199.4 kB / 0.7929 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.2343, allocations: 338.4 kB / 0.7932 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2345, allocations: 72.7 kB / 0.7933 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2346, allocations: 103.5 kB / 0.7934 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2348, allocations: 147.2 kB / 0.7935 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2348, allocations: 4 kB / 0.7935 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.235, allocations: 55.95 kB / 0.7936 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2351, allocations: 123.5 kB / 0.7937 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.2353, allocations: 240.1 kB / 0.7939 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.2359, allocations: 0.6499 MB / 0.7946 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2359, allocations: 4 kB / 0.7946 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2359, allocations: 0 / 0.7946 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2359, allocations: 0 / 0.7946 GB, free: 4.707 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.0009689/0.2369, allocations: 0.7868 MB / 0.7953 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.237, allocations: 12.03 kB / 0.7953 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.237, allocations: 34.75 kB / 0.7954 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.2371, allocations: 68.12 kB / 0.7954 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.2376, allocations: 439.8 kB / 0.7959 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2376, allocations: 4 kB / 0.7959 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2376, allocations: 4 kB / 0.7959 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2378, allocations: 104.2 kB / 0.796 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2378, allocations: 3.938 kB / 0.796 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2379, allocations: 4 kB / 0.796 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2379, allocations: 0 / 0.796 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.238, allocations: 43.97 kB / 0.796 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.2387, allocations: 0.5083 MB / 0.7965 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.2391, allocations: 106.7 kB / 0.7966 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.2392, allocations: 36.84 kB / 0.7966 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2392, allocations: 0 / 0.7966 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.2394, allocations: 83.38 kB / 0.7967 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2394, allocations: 0 / 0.7967 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003872/0.2398, allocations: 192.8 kB / 0.7969 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.2398, allocations: 110.8 kB / 0.797 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.2408, allocations: 0.8911 MB / 0.7979 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2409, allocations: 25.7 kB / 0.7979 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.2411, allocations: 296.1 kB / 0.7982 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2412, allocations: 19.75 kB / 0.7982 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.2412, allocations: 21.7 kB / 0.7982 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.2413, allocations: 306 kB / 0.7985 GB, free: 400 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.2414, allocations: 27.98 kB / 0.7985 GB, free: 372 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2415, allocations: 80.27 kB / 0.7986 GB, free: 276 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2417, allocations: 69.64 kB / 0.7987 GB, free: 200 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2417, allocations: 0 / 0.7987 GB, free: 200 kB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002616/0.242, allocations: 176.7 kB / 0.7989 GB, free: 16 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.242, allocations: 4 kB / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.242, allocations: 0 / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.242, allocations: 4 kB / 0.7989 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2421, allocations: 20.02 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2421, allocations: 0 / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2423, allocations: 7.938 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.2423, allocations: 4 kB / 0.7989 GB, free: 15.98 MB / 0.6231 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.0003019/0.2426, allocations: 309.9 kB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.2427, allocations: 63.16 kB / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.2428, allocations: 81.92 kB / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2428, allocations: 3.938 kB / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2428, allocations: 8 kB / 0.7993 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2428, allocations: 48 / 0.7993 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.2432, allocations: 393.4 kB / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2432, allocations: 3.938 kB / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.2432, allocations: 4 kB / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2432, allocations: 0 / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2433, allocations: 8 kB / 0.7997 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2433, allocations: 3.938 kB / 0.7997 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2433, allocations: 0 / 0.7997 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2436, allocations: 188.6 kB / 0.7999 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2437, allocations: 140.2 kB / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.2437, allocations: 4 kB / 0.8001 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2439, allocations: 15.92 kB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2439, allocations: 11.97 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.244, allocations: 0 / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007391/0.2447, allocations: 0.6551 MB / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.583e-06/0.2447, allocations: 0 / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002833/0.245, allocations: 67.92 kB / 0.8008 GB, free: 13.95 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.001432/0.2464, allocations: 1.047 MB / 0.8018 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2466, allocations: 71.91 kB / 0.8019 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2467, allocations: 0 / 0.8019 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.872e-05/0.2468, allocations: 40.05 kB / 0.8019 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.2474, allocations: 146 kB / 0.8021 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/0.253, allocations: 4.905 MB / 0.8068 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.2536, allocations: 0.9785 MB / 0.8078 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.2537, allocations: 42.58 kB / 0.8078 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.254, allocations: 179.4 kB / 0.808 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.254, allocations: 0 / 0.808 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.2767, allocations: 11.74 MB / 0.8195 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.2769, allocations: 271.7 kB / 0.8197 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.251, allocations: 0 / 0.8197 GB, free: 10.77 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)