Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 194.3 kB / 16.64 MB, free: 6.48 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.314/1.314, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001347/0.001347, allocations: 70.91 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2069, allocations: 114.5 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003104/0.21, allocations: 1.991 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.2132, allocations: 2.54 MB / 0.7881 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2133, allocations: 3.938 kB / 0.7881 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.2145, allocations: 482.1 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2147, allocations: 63.61 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009555/0.2156, allocations: 274 kB / 0.7889 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.216, allocations: 314.4 kB / 0.7892 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2162, allocations: 84.7 kB / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2163, allocations: 107.5 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2165, allocations: 123.3 kB / 0.7895 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.2165, allocations: 8 kB / 0.7895 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.217, allocations: 323.5 kB / 0.7898 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2171, allocations: 103.5 kB / 0.7899 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.2173, allocations: 198.6 kB / 0.7901 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.2181, allocations: 0.7904 MB / 0.7908 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2181, allocations: 4 kB / 0.7908 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2181, allocations: 0 / 0.7908 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.2181, allocations: 0 / 0.7908 GB, free: 5.832 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001007/0.2191, allocations: 0.8295 MB / 0.7917 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.2192, allocations: 12.03 kB / 0.7917 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.2192, allocations: 38.75 kB / 0.7917 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.2193, allocations: 60.19 kB / 0.7918 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.2198, allocations: 368.3 kB / 0.7921 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2198, allocations: 12.38 kB / 0.7921 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2198, allocations: 11.88 kB / 0.7921 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.22, allocations: 129.6 kB / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2201, allocations: 0 / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2201, allocations: 4 kB / 0.7923 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2201, allocations: 4 kB / 0.7923 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2203, allocations: 95.94 kB / 0.7924 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.2209, allocations: 0.5355 MB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2211, allocations: 118.4 kB / 0.793 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.2212, allocations: 60.97 kB / 0.7931 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.2213, allocations: 8 kB / 0.7931 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.2214, allocations: 129.1 kB / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2215, allocations: 0 / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004517/0.2219, allocations: 310.5 kB / 0.7935 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.222, allocations: 85.11 kB / 0.7936 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/0.2228, allocations: 0.7619 MB / 0.7943 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2228, allocations: 29.7 kB / 0.7943 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.223, allocations: 272.3 kB / 0.7946 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2231, allocations: 23.66 kB / 0.7946 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.2231, allocations: 29.7 kB / 0.7946 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2233, allocations: 310 kB / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.2233, allocations: 47.97 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.2234, allocations: 51.97 kB / 0.795 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2236, allocations: 160.1 kB / 0.7952 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2236, allocations: 0 / 0.7952 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002989/0.2239, allocations: 262.5 kB / 0.7954 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.2239, allocations: 41.69 kB / 0.7955 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2239, allocations: 0 / 0.7955 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.224, allocations: 0 / 0.7955 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.224, allocations: 8 kB / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2241, allocations: 0 / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2242, allocations: 19.83 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2242, allocations: 8 kB / 0.7955 GB, free: 0.7656 MB / 0.6075 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 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.2245, allocations: 331.3 kB / 0.7958 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.2246, allocations: 63.23 kB / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.225, allocations: 297.1 kB / 0.7962 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.225, allocations: 0 / 0.7962 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.225, allocations: 0 / 0.7962 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.225, allocations: 0 / 0.7962 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.2254, allocations: 377.2 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.2254, allocations: 3.984 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.2254, allocations: 12 kB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2254, allocations: 0 / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2255, allocations: 4 kB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2255, allocations: 0 / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2255, allocations: 0 / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.2258, allocations: 313.8 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.226, allocations: 144.5 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.226, allocations: 11.98 kB / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.2261, allocations: 8 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2262, allocations: 4 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2262, allocations: 7.984 kB / 0.797 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006313/0.2268, allocations: 0.5653 MB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2269, allocations: 0 / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003807/0.2272, allocations: 120 kB / 0.7977 GB, free: 14.42 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: 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 (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.0009484/0.2282, allocations: 0.9438 MB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.2285, allocations: 199.3 kB / 0.7988 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2285, allocations: 0 / 0.7988 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2287, allocations: 147.3 kB / 0.7989 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.2291, allocations: 110.9 kB / 0.799 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.2339, allocations: 4.494 MB / 0.8034 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.2345, allocations: 0.966 MB / 0.8044 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.603e-05/0.2346, allocations: 29.53 kB / 0.8044 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.2348, allocations: 151.4 kB / 0.8045 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2348, allocations: 0 / 0.8045 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.263, allocations: 11.18 MB / 0.8155 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.289, allocations: 10.48 kB / 0.8155 GB, free: 12.27 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)