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.001139/0.001139, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001156/0.001156, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.529/1.529, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.669/1.669, allocations: 292.3 MB / 0.5492 GB, free: 13.66 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.001308/0.001308, allocations: 71.39 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2444, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003326/0.2478, allocations: 2.04 MB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.2508, allocations: 2.521 MB / 0.788 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2509, allocations: 4 kB / 0.788 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.2521, allocations: 474.3 kB / 0.7884 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2522, allocations: 51.73 kB / 0.7885 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.253, allocations: 243.1 kB / 0.7887 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.2534, allocations: 350.5 kB / 0.7891 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.2536, allocations: 88.72 kB / 0.7891 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2537, allocations: 99.45 kB / 0.7892 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.2539, allocations: 135.3 kB / 0.7894 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.2539, allocations: 11.94 kB / 0.7894 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.2544, allocations: 319.5 kB / 0.7897 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2545, allocations: 107.6 kB / 0.7898 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2547, allocations: 198.5 kB / 0.79 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.2553, allocations: 0.6081 MB / 0.7906 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2553, allocations: 0 / 0.7906 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2553, allocations: 0 / 0.7906 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.2553, allocations: 0 / 0.7906 GB, free: 6.668 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.0009771/0.2563, allocations: 0.8372 MB / 0.7914 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2564, allocations: 8.031 kB / 0.7914 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.2565, allocations: 64.12 kB / 0.7915 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2568, allocations: 368.4 kB / 0.7918 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2569, allocations: 8.375 kB / 0.7918 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.2569, allocations: 12.12 kB / 0.7918 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2571, allocations: 125.6 kB / 0.7919 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2572, allocations: 0 / 0.7919 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2572, allocations: 4 kB / 0.7919 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2572, allocations: 0 / 0.7919 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.2574, allocations: 99.94 kB / 0.792 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.2581, allocations: 0.5392 MB / 0.7926 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2582, allocations: 110.6 kB / 0.7927 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.2583, allocations: 60.97 kB / 0.7927 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.2584, allocations: 4 kB / 0.7927 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.2586, allocations: 133.1 kB / 0.7929 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.2586, allocations: 0 / 0.7929 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004613/0.2591, allocations: 310.5 kB / 0.7932 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.2592, allocations: 81.11 kB / 0.7932 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.26, allocations: 0.7542 MB / 0.794 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.26, allocations: 33.7 kB / 0.794 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2602, allocations: 276.2 kB / 0.7943 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.2603, allocations: 27.64 kB / 0.7943 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.2603, allocations: 29.7 kB / 0.7943 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2605, allocations: 314 kB / 0.7946 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.2605, allocations: 47.97 kB / 0.7947 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.2606, allocations: 47.97 kB / 0.7947 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2608, allocations: 156.2 kB / 0.7949 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2608, allocations: 3.938 kB / 0.7949 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002883/0.2611, allocations: 262.5 kB / 0.7951 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.2611, allocations: 37.69 kB / 0.7952 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2611, allocations: 0 / 0.7952 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2612, allocations: 0 / 0.7952 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.2612, allocations: 16.06 kB / 0.7952 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2612, allocations: 0 / 0.7952 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2614, allocations: 15.83 kB / 0.7952 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.2614, allocations: 8 kB / 0.7952 GB, free: 1.652 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.0003149/0.2617, allocations: 339.9 kB / 0.7955 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.2618, allocations: 63.25 kB / 0.7956 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.2622, allocations: 297 kB / 0.7959 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2622, allocations: 0 / 0.7959 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2622, allocations: 4 kB / 0.7959 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2622, allocations: 0 / 0.7959 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.2626, allocations: 377.3 kB / 0.7962 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2626, allocations: 4 kB / 0.7962 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.2626, allocations: 4 kB / 0.7962 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2626, allocations: 0 / 0.7962 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2627, allocations: 8 kB / 0.7962 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2627, allocations: 0 / 0.7962 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2627, allocations: 0 / 0.7962 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.263, allocations: 317.8 kB / 0.7965 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.2632, allocations: 140.3 kB / 0.7967 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.2632, allocations: 7.984 kB / 0.7967 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2633, allocations: 4.047 kB / 0.7967 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.2634, allocations: 11.94 kB / 0.7967 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2634, allocations: 4 kB / 0.7967 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006194/0.264, allocations: 0.5653 MB / 0.7973 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.264, allocations: 0 / 0.7973 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000387/0.2644, allocations: 119.9 kB / 0.7974 GB, free: 15.3 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.0003981/0.2648, allocations: 197.7 kB / 0.7976 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.2652, allocations: 207.3 kB / 0.7978 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2652, allocations: 0 / 0.7978 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.2653, allocations: 139.4 kB / 0.7979 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.2658, allocations: 111 kB / 0.798 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2673, allocations: 1.191 MB / 0.7992 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.2679, allocations: 0.9622 MB / 0.8001 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.2679, allocations: 19.44 kB / 0.8001 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2679, allocations: 0 / 0.8001 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.008467/0.2764, allocations: 6.303 MB / 0.8063 GB, free: 6.148 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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)