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.673/2.673, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001562/0.001561, allocations: 184.9 kB / 370.8 MB, free: 10.85 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.093/2.093, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001616/0.001616, allocations: 101.4 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007144/0.0007146, allocations: 18.38 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2108, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002638/0.2135, allocations: 1.721 MB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2169, allocations: 2.106 MB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2172, allocations: 0 / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2192, allocations: 0.518 MB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.2196, allocations: 99.66 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.2204, allocations: 187.6 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.221, allocations: 284 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.2212, allocations: 64.72 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.2214, allocations: 119.4 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.2216, allocations: 131.4 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.2217, allocations: 4 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2219, allocations: 31.98 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.2221, allocations: 131.5 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2222, allocations: 125.4 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.2228, allocations: 0.5419 MB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2228, allocations: 0 / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2228, allocations: 0 / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.2229, allocations: 0 / 0.9842 GB, free: 22.21 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.001263/0.2241, allocations: 0.7943 MB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2242, allocations: 8.031 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.2242, allocations: 42.55 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.2243, allocations: 63.2 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.2249, allocations: 407.5 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.225, allocations: 4 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.225, allocations: 4 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2253, allocations: 96.17 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2253, allocations: 0 / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.2253, allocations: 7.984 kB / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2253, allocations: 0 / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.2255, allocations: 39.94 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.2265, allocations: 0.5123 MB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.2271, allocations: 106.6 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.2271, allocations: 0 / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.2274, allocations: 91.45 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.255e-06/0.2274, allocations: 0 / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000555/0.2279, allocations: 196.7 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.228, allocations: 106.8 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.2294, allocations: 0.8756 MB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.2295, allocations: 33.69 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.2298, allocations: 304 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.2299, allocations: 15.81 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.2299, allocations: 8 kB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.23, allocations: 306 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2301, allocations: 27.98 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.2303, allocations: 76.2 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2304, allocations: 31.98 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2305, allocations: 4 kB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004212/0.2309, allocations: 164.8 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2309, allocations: 10.28 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2309, allocations: 7.891 kB / 0.9884 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.231, allocations: 0 / 0.9884 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2311, allocations: 15.98 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2311, allocations: 0 / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.2314, allocations: 7.938 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2314, allocations: 7.984 kB / 0.9884 GB, free: 17.61 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.0004526/0.2319, allocations: 313.7 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.232, allocations: 71.16 kB / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.2322, allocations: 78.02 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2322, allocations: 3.953 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2322, allocations: 0 / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2322, allocations: 0 / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.2327, allocations: 381.5 kB / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2327, allocations: 4 kB / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2328, allocations: 15.92 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2328, allocations: 4 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2328, allocations: 0 / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2329, allocations: 0 / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2329, allocations: 4.141 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.2333, allocations: 188.2 kB / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2334, allocations: 140.3 kB / 0.9896 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.2335, allocations: 4 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2338, allocations: 4 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.2338, allocations: 15.94 kB / 0.9896 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.2339, allocations: 4 kB / 0.9896 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00117/0.2351, allocations: 0.6512 MB / 0.9902 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.81e-07/0.2351, allocations: 0 / 0.9902 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004504/0.2356, allocations: 59.98 kB / 0.9903 GB, free: 15.59 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.001762/0.2373, allocations: 1.057 MB / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.2377, allocations: 83.88 kB / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2378, allocations: 0 / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2379, allocations: 31.98 kB / 0.9914 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.239, allocations: 136.2 kB / 0.9916 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007934/0.2469, allocations: 3.644 MB / 0.9951 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.2476, allocations: 0.994 MB / 0.9961 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.2478, allocations: 34.59 kB / 0.9961 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.2481, allocations: 175.4 kB / 0.9963 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.2482, allocations: 4 kB / 0.9963 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05268/0.3008, allocations: 11.57 MB / 1.008 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003575/0.3013, allocations: 244.8 kB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.263, allocations: 4 kB / 1.008 GB, free: 13.84 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)