Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.773/2.773, allocations: 287.5 MB / 302.4 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001366, allocations: 177 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009377, allocations: 94.28 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005041, allocations: 12.75 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002697/0.2147, allocations: 1.759 MB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003586/0.2183, allocations: 2.25 MB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.2186, allocations: 3.938 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.2203, allocations: 490.3 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.2207, allocations: 87.64 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.2215, allocations: 182.9 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.222, allocations: 312.2 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2221, allocations: 64.72 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2223, allocations: 123.4 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.2226, allocations: 131.4 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.2226, allocations: 4 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.2229, allocations: 47.97 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.2231, allocations: 115.5 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2232, allocations: 125.4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.2238, allocations: 0.5416 MB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2238, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2238, allocations: 4 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2239, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 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.001234/0.2251, allocations: 0.8021 MB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2252, allocations: 8.031 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.2252, allocations: 38.5 kB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.2253, allocations: 63.2 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.2259, allocations: 403.5 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.226, allocations: 4 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.226, allocations: 8 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2263, allocations: 104.1 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2263, allocations: 0 / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.2263, allocations: 8 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2263, allocations: 0 / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2265, allocations: 43.92 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.2275, allocations: 0.5123 MB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.2281, allocations: 102.6 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2282, allocations: 36.83 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2283, allocations: 4 kB / 0.9866 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.2285, allocations: 91.36 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.2285, allocations: 0 / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000569/0.2291, allocations: 184.8 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.2292, allocations: 110.8 kB / 0.987 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.2305, allocations: 0.8756 MB / 0.9878 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.2306, allocations: 29.7 kB / 0.9879 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.2309, allocations: 307.9 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.231, allocations: 19.8 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.231, allocations: 0 / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.2311, allocations: 314 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2312, allocations: 27.98 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2314, allocations: 72.22 kB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2315, allocations: 35.98 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2316, allocations: 0 / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004135/0.232, allocations: 164.8 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.232, allocations: 17.61 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.232, allocations: 0 / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2321, allocations: 0 / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.2322, allocations: 12 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.2322, allocations: 0 / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.2325, allocations: 12.02 kB / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2325, allocations: 4 kB / 0.9888 GB, free: 17.34 MB / 0.6198 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.0004407/0.233, allocations: 309.9 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.2331, allocations: 67.16 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.2332, allocations: 86.27 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.2332, allocations: 3.938 kB / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2332, allocations: 0 / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2333, allocations: 0 / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.2337, allocations: 389.4 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2337, allocations: 4 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.2338, allocations: 8 kB / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2338, allocations: 0 / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2339, allocations: 4 kB / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2339, allocations: 3.953 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2339, allocations: 4 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.2343, allocations: 192.2 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2344, allocations: 136.3 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.2345, allocations: 4 kB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2347, allocations: 11.98 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.2348, allocations: 11.94 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.2349, allocations: 7.938 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001094/0.236, allocations: 0.6512 MB / 0.9906 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.2e-07/0.236, allocations: 0 / 0.9906 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004122/0.2364, allocations: 60 kB / 0.9907 GB, free: 15.31 MB / 0.6198 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.00171/0.2381, allocations: 1.045 MB / 0.9917 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.2385, allocations: 75.91 kB / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2385, allocations: 0 / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.2387, allocations: 35.97 kB / 0.9918 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2398, allocations: 142 kB / 0.9919 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.2463, allocations: 3.684 MB / 0.9955 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.247, allocations: 0.9823 MB / 0.9965 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000301/0.2473, allocations: 38.58 kB / 0.9965 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.2476, allocations: 175.4 kB / 0.9967 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/0.2476, allocations: 0 / 0.9967 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.2896, allocations: 11.6 MB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003964/0.2901, allocations: 255.2 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.208, allocations: 0 / 1.008 GB, free: 13.48 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)