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.0009575/0.0009574, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006824/0.006824, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.552/1.552, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.715/1.715, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005512/0.0005512, allocations: 15.25 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2761, allocations: 116.3 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002876/0.2791, allocations: 1.693 MB / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.283, allocations: 2.513 MB / 0.792 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.2833, allocations: 0 / 0.792 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.2848, allocations: 486.2 kB / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.285, allocations: 51.73 kB / 0.7925 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.2859, allocations: 215.1 kB / 0.7927 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.2864, allocations: 298.5 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2866, allocations: 88.7 kB / 0.7931 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2868, allocations: 91.47 kB / 0.7932 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.287, allocations: 123.3 kB / 0.7933 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.287, allocations: 4 kB / 0.7933 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005683/0.2876, allocations: 299.5 kB / 0.7936 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2878, allocations: 99.55 kB / 0.7937 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.288, allocations: 220.2 kB / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.289, allocations: 0.7592 MB / 0.7946 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.289, allocations: 0 / 0.7946 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.289, allocations: 4 kB / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.2891, allocations: 0 / 0.7946 GB, free: 4.574 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.001301/0.2904, allocations: 0.7742 MB / 0.7954 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2904, allocations: 8.031 kB / 0.7954 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2905, allocations: 64.19 kB / 0.7955 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.291, allocations: 360.4 kB / 0.7958 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.291, allocations: 8.375 kB / 0.7958 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.2911, allocations: 12.06 kB / 0.7958 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2913, allocations: 136.1 kB / 0.796 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2913, allocations: 3.938 kB / 0.796 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2914, allocations: 0 / 0.796 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2914, allocations: 0 / 0.796 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.2916, allocations: 99.94 kB / 0.7961 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.2924, allocations: 0.5354 MB / 0.7966 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.2926, allocations: 114.7 kB / 0.7967 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.2927, allocations: 64.97 kB / 0.7967 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.2928, allocations: 7.984 kB / 0.7968 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.293, allocations: 129 kB / 0.7969 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.293, allocations: 0 / 0.7969 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005183/0.2935, allocations: 310.4 kB / 0.7972 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.2936, allocations: 81.11 kB / 0.7972 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/0.2946, allocations: 0.7659 MB / 0.798 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2946, allocations: 25.7 kB / 0.798 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2949, allocations: 276.2 kB / 0.7983 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.2949, allocations: 27.64 kB / 0.7983 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.295, allocations: 21.72 kB / 0.7983 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2951, allocations: 306 kB / 0.7986 GB, free: 256 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.2952, allocations: 47.97 kB / 0.7987 GB, free: 208 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.2953, allocations: 51.97 kB / 0.7987 GB, free: 156 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2955, allocations: 152.3 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2955, allocations: 3.938 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003382/0.2958, allocations: 266.5 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.2959, allocations: 37.69 kB / 0.7992 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2959, allocations: 0 / 0.7992 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2959, allocations: 0 / 0.7992 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.296, allocations: 11.94 kB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.296, allocations: 0 / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2962, allocations: 23.83 kB / 0.7992 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2962, allocations: 8 kB / 0.7992 GB, free: 15.62 MB / 0.6231 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.0003462/0.2966, allocations: 336 kB / 0.7995 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2966, allocations: 59.25 kB / 0.7996 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.2971, allocations: 288.7 kB / 0.7999 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2971, allocations: 7.922 kB / 0.7999 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2971, allocations: 0 / 0.7999 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2971, allocations: 3.938 kB / 0.7999 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.2975, allocations: 373.3 kB / 0.8002 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2975, allocations: 4.125 kB / 0.8002 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.2976, allocations: 12 kB / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2976, allocations: 0 / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2976, allocations: 8 kB / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2976, allocations: 0 / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2976, allocations: 0 / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.2981, allocations: 310.3 kB / 0.8005 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2982, allocations: 140.3 kB / 0.8007 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.2983, allocations: 4 kB / 0.8007 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2984, allocations: 12 kB / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2985, allocations: 7.984 kB / 0.8007 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2985, allocations: 7.938 kB / 0.8007 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007109/0.2992, allocations: 0.5653 MB / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2992, allocations: 0 / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004825/0.2997, allocations: 123.9 kB / 0.8014 GB, free: 13.28 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.0004873/0.3002, allocations: 201.5 kB / 0.8016 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.3005, allocations: 203.3 kB / 0.8018 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3005, allocations: 0 / 0.8018 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3007, allocations: 143.3 kB / 0.8019 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.3012, allocations: 102.8 kB / 0.802 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.303, allocations: 1.145 MB / 0.8031 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.3037, allocations: 0.9663 MB / 0.8041 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3038, allocations: 21.56 kB / 0.8041 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.3038, allocations: 15.44 kB / 0.8041 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.3038, allocations: 0 / 0.8041 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.01157/0.3154, allocations: 4.957 MB / 0.8089 GB, free: 5.539 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: