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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008043, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009093/0.0009093, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.635/1.635, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004884/0.0004884, allocations: 14.16 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00237/0.225, allocations: 1.659 MB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.228, allocations: 2.316 MB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2282, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.2293, allocations: 462.3 kB / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2295, allocations: 55.73 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.2302, allocations: 203.6 kB / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.2306, allocations: 277.9 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2308, allocations: 76.72 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.231, allocations: 107.5 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.2311, allocations: 111.4 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.2312, allocations: 7.938 kB / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.2316, allocations: 291.6 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.2317, allocations: 87.61 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2319, allocations: 121.4 kB / 0.7929 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.2325, allocations: 0.5923 MB / 0.7935 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2325, allocations: 0 / 0.7935 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2325, allocations: 0 / 0.7935 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.2325, allocations: 4 kB / 0.7935 GB, free: 5.555 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.0009901/0.2335, allocations: 0.7714 MB / 0.7942 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2336, allocations: 11.97 kB / 0.7943 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2337, allocations: 67.19 kB / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.2341, allocations: 335.8 kB / 0.7946 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2341, allocations: 8 kB / 0.7946 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2341, allocations: 8 kB / 0.7947 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.2344, allocations: 126.1 kB / 0.7948 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2344, allocations: 8 kB / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2344, allocations: 0 / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2344, allocations: 0 / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.2346, allocations: 104.1 kB / 0.7949 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.2353, allocations: 0.532 MB / 0.7954 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2354, allocations: 114.4 kB / 0.7955 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.2355, allocations: 60.97 kB / 0.7956 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2356, allocations: 7.984 kB / 0.7956 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.2358, allocations: 129.1 kB / 0.7957 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/0.2358, allocations: 4 kB / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004763/0.2363, allocations: 314.4 kB / 0.796 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.2364, allocations: 85.11 kB / 0.7961 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/0.2372, allocations: 0.7542 MB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2373, allocations: 25.7 kB / 0.7968 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.2375, allocations: 276.2 kB / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.2376, allocations: 23.66 kB / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.2376, allocations: 0 / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2377, allocations: 318 kB / 0.7974 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.2378, allocations: 43.98 kB / 0.7975 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.2378, allocations: 47.97 kB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.2379, allocations: 73.69 kB / 0.7976 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2379, allocations: 0 / 0.7976 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003153/0.2383, allocations: 270.5 kB / 0.7978 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.2383, allocations: 37.69 kB / 0.7979 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2383, allocations: 4 kB / 0.7979 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2383, allocations: 0 / 0.7979 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.2384, allocations: 8 kB / 0.7979 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2384, allocations: 0 / 0.7979 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2386, allocations: 23.83 kB / 0.7979 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.2386, allocations: 8 kB / 0.7979 GB, free: 0.7461 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 ($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.0003442/0.2389, allocations: 332 kB / 0.7982 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.239, allocations: 59.3 kB / 0.7983 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.2394, allocations: 304.4 kB / 0.7986 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2394, allocations: 0 / 0.7986 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2394, allocations: 4 kB / 0.7986 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2394, allocations: 0 / 0.7986 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.2398, allocations: 361.5 kB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2398, allocations: 0 / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.2399, allocations: 11.98 kB / 0.799 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2399, allocations: 3.953 kB / 0.799 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2399, allocations: 8 kB / 0.799 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2399, allocations: 0 / 0.799 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2399, allocations: 0 / 0.799 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.2403, allocations: 309.9 kB / 0.7993 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2404, allocations: 136.3 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.2405, allocations: 7.953 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2406, allocations: 15.98 kB / 0.7994 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.2406, allocations: 7.938 kB / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2407, allocations: 7.984 kB / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006164/0.2413, allocations: 0.5614 MB / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2413, allocations: 0 / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004012/0.2417, allocations: 119.9 kB / 0.8001 GB, free: 14.41 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 (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.0003814/0.2421, allocations: 187.2 kB / 0.8003 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.2424, allocations: 207.5 kB / 0.8005 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2424, allocations: 7.938 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2425, allocations: 139.4 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.243, allocations: 108.8 kB / 0.8007 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.2445, allocations: 1.094 MB / 0.8018 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.2451, allocations: 0.9663 MB / 0.8027 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.364e-05/0.2452, allocations: 29.48 kB / 0.8027 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.2452, allocations: 15.44 kB / 0.8028 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2452, allocations: 4 kB / 0.8028 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.009542/0.2548, allocations: 4.858 MB / 0.8075 GB, free: 6.812 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: