Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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 1.692/1.692, allocations: 287.4 MB / 302.6 MB, free: 8.211 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.00106/0.001061, allocations: 184.5 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007463/0.000746, allocations: 84.38 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004501, allocations: 14.03 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002261/0.2232, allocations: 1.654 MB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.2259, allocations: 2.313 MB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2261, allocations: 11.81 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.2273, allocations: 458.4 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2275, allocations: 59.72 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.2283, allocations: 201.6 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.2287, allocations: 271.6 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2288, allocations: 92.7 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.229, allocations: 99.52 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2292, allocations: 119.4 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2292, allocations: 4 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.2298, allocations: 283.6 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2299, allocations: 99.59 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.23, allocations: 117.4 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.2307, allocations: 0.5923 MB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2307, allocations: 0 / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2307, allocations: 0 / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.2307, allocations: 4 kB / 0.985 GB, free: 21.68 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001083/0.2318, allocations: 0.7715 MB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.2319, allocations: 8.031 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.2319, allocations: 38.75 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.232, allocations: 64.19 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.2324, allocations: 360.4 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2324, allocations: 8.375 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2325, allocations: 11.88 kB / 0.9862 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.2327, allocations: 131.8 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2327, allocations: 0 / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2327, allocations: 4 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2327, allocations: 0 / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.2329, allocations: 99.94 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.2336, allocations: 0.5355 MB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2338, allocations: 114.5 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.2339, allocations: 69 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.2339, allocations: 4 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.2342, allocations: 140.9 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.2342, allocations: 0 / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004107/0.2346, allocations: 298.6 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2346, allocations: 89.09 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.2353, allocations: 0.7542 MB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2353, allocations: 29.7 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2355, allocations: 280.1 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2356, allocations: 19.72 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.2356, allocations: 0 / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.2356, allocations: 321.9 kB / 0.989 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.2357, allocations: 43.98 kB / 0.989 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.2358, allocations: 51.91 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.2359, allocations: 164.1 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2359, allocations: 4 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002265/0.2361, allocations: 246.6 kB / 0.9895 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2362, allocations: 41.69 kB / 0.9895 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2362, allocations: 0 / 0.9895 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2362, allocations: 7.938 kB / 0.9895 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.2363, allocations: 4 kB / 0.9895 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2363, allocations: 7.984 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2364, allocations: 11.84 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2365, allocations: 8 kB / 0.9895 GB, free: 16.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0002574/0.2367, allocations: 335.3 kB / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.2368, allocations: 63.25 kB / 0.9899 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.2371, allocations: 292.6 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2371, allocations: 0 / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2371, allocations: 0 / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2371, allocations: 0 / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2374, allocations: 377.3 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2374, allocations: 4 kB / 0.9906 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.2375, allocations: 8 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2375, allocations: 0 / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2375, allocations: 4 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2375, allocations: 0 / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2375, allocations: 0 / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.2378, allocations: 314.3 kB / 0.9909 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2379, allocations: 148.3 kB / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.238, allocations: 4 kB / 0.991 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.2381, allocations: 8 kB / 0.991 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2381, allocations: 11.92 kB / 0.991 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2382, allocations: 8 kB / 0.991 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004824/0.2387, allocations: 0.5536 MB / 0.9916 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2387, allocations: 0 / 0.9916 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003762/0.239, allocations: 124 kB / 0.9917 GB, free: 14.38 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007057/0.2398, allocations: 0.9334 MB / 0.9926 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.24, allocations: 203.3 kB / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.24, allocations: 0 / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/0.2401, allocations: 151.6 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2406, allocations: 101.1 kB / 0.993 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.244, allocations: 3.467 MB / 0.9964 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.2444, allocations: 0.966 MB / 0.9974 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.908e-05/0.2445, allocations: 17.55 kB / 0.9974 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2446, allocations: 155.3 kB / 0.9975 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of SimCode: time 1.743e-06/0.2446, allocations: 4 kB / 0.9975 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.3732, allocations: 10.65 MB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.3735, allocations: 212.4 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.903, allocations: 0 / 1.008 GB, free: 13.57 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)